1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

12220 Commits

Author SHA1 Message Date
Stefan Metzmacher
743fbb9261 r22196: give better error codes to make RPC-UNIXINFO pass
metze
(This used to be commit 0096e068d0)
2007-10-10 14:50:03 -05:00
Stefan Metzmacher
c0bcbd448c r22195: fix compiler warnings and convert the whole torture/rpc/unixinfo.c code
to the new torture ui functions

metze
(This used to be commit 94a5f1568d)
2007-10-10 14:50:03 -05:00
Stefan Metzmacher
9407f3d0a6 r22194: fix compiler warning and
compile in but disable NetShareAddSetDel test

metze
(This used to be commit 1091f00ce0)
2007-10-10 14:50:03 -05:00
Stefan Metzmacher
d57326a476 r22193: fix compiler warning and formating
metze
(This used to be commit b050fe9e0b)
2007-10-10 14:50:02 -05:00
Stefan Metzmacher
537e773892 r22192: fix compiler warnings
ClearEventLog test is compiled in but disabled now

metze
(This used to be commit 19fb09970a)
2007-10-10 14:50:02 -05:00
Andrew Bartlett
cc275f011e r22191: Add a samba4kinit binary to the build, so I can test using an existing
ccache, as well as PKINIT.

Andrew Bartlett
(This used to be commit 440b8d9e4b)
2007-10-10 14:50:02 -05:00
Stefan Metzmacher
52cf4bd0e1 r22190: fix compiler warnings and remove unused talloc_reference()
metze
(This used to be commit 60145f3c5b)
2007-10-10 14:50:01 -05:00
Stefan Metzmacher
2eb8b675d1 r22189: fix compiler warning
metze
(This used to be commit 62faa4bce4)
2007-10-10 14:50:01 -05:00
Stefan Metzmacher
714b5df833 r22188: fix formating bug
metze
(This used to be commit e40912a2fd)
2007-10-10 14:50:01 -05:00
Andrew Bartlett
f1b2b43ba5 r22187: Test kerberos logins in the smbclient blackbox tests, including with a
machine account.

Andrew Bartlett
(This used to be commit 16a2bb87a8)
2007-10-10 14:50:01 -05:00
Stefan Metzmacher
ca1e672c6b r22186: fix build with autodependencies
metze
(This used to be commit a45c7cf238)
2007-10-10 14:50:00 -05:00
Jelmer Vernooij
f725377346 r22185: Initial work on a 'member' test environment'.
(This used to be commit 9e0032be03)
2007-10-10 14:49:59 -05:00
Andrew Bartlett
b60157ffd2 r22184: On some hosts, parsing a compleatly invalid principal causes heimadal
to try and figure out what realm the current host is in (by DNS lookup
for it's full domain name).  We don't want to do that for this test,
just break the checksum.

Andrew Bartlett
(This used to be commit 791e875145)
2007-10-10 14:49:59 -05:00
Andrew Bartlett
3154dbd3ac r22183: Perl might not be in /usr/bin/perl, so use $(PERL) from the makefile
to start the selftest script.

Andrew Bartlett
(This used to be commit 6cb621b419)
2007-10-10 14:49:59 -05:00
Andrew Bartlett
4a94377b78 r22182: Skip a few tests that will not pass against the ntvfs/posix layer,
when testing ntvfs/cifs -> ntvfs/posix too.

Andrew Bartlett
(This used to be commit ce2714884c)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
f5bcf91e22 r22180: Re-add testing of the CIFS backend.
Andrew Bartlett
(This used to be commit d76afe147c)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
5904bbf3d9 r22177: Restore the PIDDIR mapping for the client 'pid directory', as this is
(ab)used for messaging.

Andrew Bartlett
(This used to be commit 0a721c3193)
2007-10-10 14:49:58 -05:00
Andrew Bartlett
7e92a071c5 r22176: Make the LOCAL-MESSAGING test pass again. Messaging sockets are in
the 'pid directory' now...

Andrew Bartlett
(This used to be commit 224e7d4cc7)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
ca3e134c8b r22171: At least walk over the test_SetupCredentials2 before bailing as 'we
don't do this yet'...

Andrew Bartlett
(This used to be commit 99786cbaa9)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
f3303bc8f6 r22170: To get the smbclient blackbox test to pass again, we need to get the
private dir to contain a valid machine account.

It isn't really valid it use the DC's account any more, so extend this
script to also join the domain.  This nicely tests out some previously
untested code too!

Andrew Bartlett
(This used to be commit 12f4e6033e)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
f57ebf3f12 r22168: Ensure we actually run all the transports for the slow tests
(otherwise we miss tests).

Andrew Bartlett
(This used to be commit 216bf28a8d)
2007-10-10 14:49:57 -05:00
Andrew Bartlett
5f11116a6b r22167: This seems to get Fedora DS to run the tests again.
Andrew Bartlett
(This used to be commit b893c63183)
2007-10-10 14:49:56 -05:00
Andrew Bartlett
f02c0a64d3 r22166: Stop heimdal from trying to prototype innetgr in roken, now we don't
do it in libreplace.

Andrew Bartlett
(This used to be commit a95ce3c895)
2007-10-10 14:49:56 -05:00
Andrew Tridgell
d9916ac98c r22165: merge transaction fix from samba3
(This used to be commit ff78be0be4)
2007-10-10 14:49:56 -05:00
Andrew Bartlett
c41fe665e4 r22162: get the TEST_LDAP mode working again
Andrew Bartlett
(This used to be commit 529575d07a)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
7b88696bed r22161: Clarify exactly where the socket_wrapper should be handled (early),
and ensure that $prefix exists before it tries to create $prefix/w.

This should fix the build farm.  Perhaps we should have a rm -rf
$prefix at the start of this script, as that would have found the
problem, but I want to be careful about that...

Andrew Bartlett
(This used to be commit a230261e83)
2007-10-10 14:49:55 -05:00
Andrew Bartlett
dbfb32ffe5 r22160: Only use test environment names that actually exist (get make
quicktest to pass).

Ensure that when we fail on the build farm, this ends up in the total
failures.

I think having the 2 different functions for running the tests is just
asking for this kind of failure.  The build farm should be a
presentation detail, and not alter the test behaviour.

There is still a gremlin in there, we will fail horribly on the farm,
but not on local tests...

Andrew Bartlett
(This used to be commit 519f3c0575)
2007-10-10 14:49:55 -05:00
Jelmer Vernooij
e338b4b47b r22156: - Lazy evaluate variable names.
- Don't set up environments until necessary

- Add --resetup-environment option

- Add 'none' environment
(This used to be commit ed0410309b)
2007-10-10 14:49:55 -05:00
Stefan Metzmacher
4cc500433d r22152: merge from samba3:
remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze
(This used to be commit dd83a8dad8)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
892c8cd1b4 r22137: Actually use client.conf, defer more code as far as possible.
(This used to be commit 9399123a72)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
3ff1625f1f r22134: Create different smb.conf file for the client side. This should make use with Samba 3 or windows easier as well as environments.
(This used to be commit a32cdc06c3)
2007-10-10 14:49:54 -05:00
Jelmer Vernooij
51fd156081 r22133: Don't push parameters into environment until necessary.
(This used to be commit 290815d180)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
a16989b1e9 r22121: The RPC-CRACKNAMES test now passes against Samba4. This should help
the code coverage...

Andrew Bartlett
(This used to be commit 394c863a3f)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
d0179f164a r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Fix up our server side implementation to pass almost all the tests (a
couple are skipped).

Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.

Andrew Bartlett
(This used to be commit a29eb8f7e5)
2007-10-10 14:49:53 -05:00
Andrew Bartlett
1c7f70ded5 r22119: Where we get a request to 'crack' a user principal name from a
compleatly unknown domain, return the correct error code.

Andrew Bartlett
(This used to be commit 7d04a36cdb)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
270248ac02 r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts of
this test we don't yet support in Samba4.  I want to at least try and
test this parts of this codebase...

Andrew Bartlett
(This used to be commit cb2e4ca220)
2007-10-10 14:49:52 -05:00
Andrew Tridgell
5497a1341c r22117: merged from bzr
(This used to be commit d7f122df1d)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
98fda45351 r22116: Only query by SID if we have a SID
Andrew Bartlett
(This used to be commit 018939a8fd)
2007-10-10 14:49:52 -05:00
Andrew Bartlett
68094302c1 r22115: I don't like the DOMAIN environment variable. It really isn't a good
match for what we are using it for here.

Andrew Bartlett
(This used to be commit 305d1421ef)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
1b02e88aaf r22114: merge from bzr tree
(This used to be commit e60a485ff5)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
a9044f92c9 r22098: merged from bzr tree
(This used to be commit a57af1ff82)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
4685a42eaf r22090: fix error handling in cldap client library to cope with bad host names
(This used to be commit 99c51b104d)
2007-10-10 14:49:51 -05:00
Andrew Tridgell
432dfdbcd1 r22089: check the return value of interpret_addr2()
(This used to be commit af6661e442)
2007-10-10 14:49:50 -05:00
Andrew Bartlett
bfc4053178 r22088: export PIDDIR to make the smbd pid show in 'make testenv' again.
(This used to be commit 9e95871b3a)
2007-10-10 14:49:50 -05:00
Andrew Tridgell
25b4ee7af8 r22087: added a RAW-BENCH-OPEN test that can be used to stress out a clustered
implementation of a opendb backend. Use it in combination with
--unclist to tell smbtorture to connect to multiple nodes in the
cluster
(This used to be commit b4e38b1b8d)
2007-10-10 14:49:50 -05:00
Andrew Bartlett
e936efb26f r22086: Bail out early on some of these failures.
(This used to be commit 8311bdfde9)
2007-10-10 14:49:50 -05:00
Andrew Tridgell
eb94925e37 r22085: correct copyright on opendb_ctdb.c
(This used to be commit 43ee3f8724)
2007-10-10 14:49:49 -05:00
Andrew Tridgell
23508a7c86 r22084: use a TDB_INTERNAL tdb for the local ctdb tdb for now
(This used to be commit e2fe45cf40)
2007-10-10 14:49:49 -05:00
Andrew Tridgell
0cbea3104b r22083: opendb backend to ctdb now passes simple tests
(This used to be commit 141bd7ac39)
2007-10-10 14:49:49 -05:00
Andrew Tridgell
66156220eb r22082: merged the ctdb changes from bzr
added opendb ctdb backend from ronnie
(This used to be commit b0da25cb79)
2007-10-10 14:49:48 -05:00
Andrew Tridgell
7196090bfd r22081: transaction_brlock() should be static
thanks to Ted T'so for pointing this out
(This used to be commit 6921f2f709)
2007-10-10 14:49:48 -05:00
Jelmer Vernooij
cb04f015ee r22077: Import only necessary test variables, more refactoring.
(This used to be commit 150bb2238e)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
bc8474b5cc r22076: Fill in short and long domain names into the generated krb5.conf
(This used to be commit c366610cbc)
2007-10-10 14:49:48 -05:00
Andrew Bartlett
6e3887569f r22075: Configure the bitwise match plugin, until it becomes accepted upstream.
Andrew Bartlett
(This used to be commit ce080b107c)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
e3e505625d r22074: More refactoring.
(This used to be commit b0e0c5cb94)
2007-10-10 14:49:47 -05:00
Andrew Tridgell
b03d49bced r22072: in order to implement the opendb ctdb backend, I've found that the
existing ctdb_call() mechanism isn't sufficient. The main problem is
that the operations on the record need to be done with a lock held
while a local posix file operation is happening. We can't use a
ctdb_call callback function to do the actual file opens, renames,
unlinks etc as the callback would run on the wrong node.

So this commit adds the prototypes for two new ctdb API functions
which will make a opendb backend easier. Volker will probably
recognise these functions as they are basically the same as what he
did in his earlier Samba clustering code :-)
(This used to be commit d9a997fd39)
2007-10-10 14:49:47 -05:00
Andrew Tridgell
a78be2150b r22070: merge in the changes from the bzr ctdb tree, and convert the brlock
ctdb backend to use the updated multi-database API
(This used to be commit 44dcac9e4d)
2007-10-10 14:49:47 -05:00
Jelmer Vernooij
690df3ccd9 r22063: Fix the RPC-EPMAPPER test.
(This used to be commit 101cdd1ec1)
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
464c48a62e r22053: remove samba3 specific stuff from tdbtool
should I merge this to SAMBA_3_0? as it's also totally
broken there, as the connection_struct definition is completely
different

metze
(This used to be commit 5677b01d1d)
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
a18b522f2b r22052: merge tdbtool from samba3 and build it
metze
(This used to be commit f471e75216)
2007-10-10 14:49:46 -05:00
James Peach
36d8bdc1a5 r22048: Sigh. Commit the other half of r22047.
(This used to be commit cbc15e963a)
2007-10-10 14:49:46 -05:00
James Peach
f3455f0f44 r22047: Move suffix rules into smb_build. Enable $< if we are building with
GNU Make. This lets GNU Make users bild with $srcdir != $builddir.
(This used to be commit bb473bf856)
2007-10-10 14:49:45 -05:00
James Peach
4e8fd9f2f4 r22046: Rever r22040, which breaks the build on FreeBSD 5.4 (BSD make).
(This used to be commit 5a96812929)
2007-10-10 14:49:45 -05:00
Stefan Metzmacher
769efdf048 r22041: merge trivial changes from samba3
metze
(This used to be commit 902a76ca70)
2007-10-10 14:49:45 -05:00
James Peach
3655b4ba75 r22040: Use $< to specify the immediate prerequisit instead of $*. This is
needed for VPATH to find the correct files when srcdir != builddir.

This checkin is a test to see which platforms this change will break.
(This used to be commit 1d4e836a50)
2007-10-10 14:49:44 -05:00
Stefan Metzmacher
8d525c8187 r22038: - fix perl warning
- use the same if statement as in input.pm

metze
(This used to be commit 8ffcac65be)
2007-10-10 14:49:44 -05:00
James Peach
4873704e5a r22037: Make sure STATICDIR exists before linking a static archive.
(This used to be commit c8ffdc1542)
2007-10-10 14:49:44 -05:00
James Peach
c09f40214e r22036: Make sure both srcdir and builddir are in VPATH.
(This used to be commit 9400f07738)
2007-10-10 14:49:44 -05:00
James Peach
2e588454fe r22035: Introduce HOSTLD which is needed to link the asn1 compiler when cross
compiling.
(This used to be commit 976343821b)
2007-10-10 14:49:43 -05:00
James Peach
051e4b25cf r22034: Use builddir and srcdir instead on samba_builddir and samba_srcdir.
(This used to be commit 8b19b8bfbe)
2007-10-10 14:49:43 -05:00
James Peach
3d0bc0ec0a r22032: Make sure static libraries end up in bin/static.
(This used to be commit 316283170a)
2007-10-10 14:49:43 -05:00
James Peach
3e0f5d7070 r22031: Make sure we rewrite the include directives in CFLAGS to contain
paths from builddir and srcdir. builddir has precedence.
(This used to be commit af87c22ecf)
2007-10-10 14:49:43 -05:00
James Peach
7dc8e67f81 r22030: Simplify include parsing for config.mk files, making sure we get
it right for the srcdir != builddir case. Emit some comment lines
that can be used to figure out which parts of the Makefile output
is generated from which config files.
(This used to be commit bdb1532d3a)
2007-10-10 14:49:42 -05:00
James Peach
2882b2ba63 r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.
(This used to be commit 0db4256a47)
2007-10-10 14:49:42 -05:00
James Peach
dec40d3463 r22028: Fix include path for the srcidr != builddir case.
(This used to be commit a6141d40b1)
2007-10-10 14:49:42 -05:00
James Peach
bd2380978d r22027: Allow separate build and source directories. Don't follow symlinks
when copying hemidal_build since this leads to traversal loops.
(This used to be commit ef32ad83d2)
2007-10-10 14:49:42 -05:00
Andrew Tridgell
15ceca1956 r22025: patch from Ronnie to make locktest also test the behaviour of pid
changes in the locks
(This used to be commit 369b185f29)
2007-10-10 14:49:41 -05:00
Andrew Tridgell
f00f7a34a9 r22021: use the pid specified in the individual locks, not the request pid, in
locking requests.

This fixes a bug noticed by Ronnie Sahlberg (thanks!)
(This used to be commit b4ac085816)
2007-10-10 14:49:41 -05:00
Jelmer Vernooij
cbd42dc5a1 r22004: Check for dereferencing null pointers.
Patch by Ronnie Sahlberg.
(This used to be commit fa5722111d)
2007-10-10 14:49:40 -05:00
Jelmer Vernooij
256054f4e1 r21996: Fix a bug for invalid casts of pointers.
Patch by Ronnie Sahlberg.
(This used to be commit 52a13ddf02)
2007-10-10 14:49:40 -05:00
Jelmer Vernooij
452f8e76cb r21995: Patch from Ronnie Sahlberg.
Change the signatures for all functions it generates to specify
_U_ so that GCC "parameter not used" warnings are suppressed.
(This used to be commit ec6c503e9d)
2007-10-10 14:49:40 -05:00
Andrew Bartlett
fdd4c5f879 r21971: Fill in some more values in config files from variables, so we can
better setup multiple environments.

Run the mk-keyblobs script before we need variables it defines.

Andrew Bartlett
(This used to be commit 448ffc68f3)
2007-10-10 14:49:40 -05:00
Andrew Bartlett
c95d468046 r21970: Ensure that Fedora DS can be shut down correctly with the stop script:
This needs the pid file to be in the right spot.

Andrew Bartlett
(This used to be commit cf9993a309)
2007-10-10 14:49:39 -05:00
James Peach
90d8786d05 r21951: Hopefully fix valgrind warning.
(This used to be commit e5d0487f31)
2007-10-10 14:49:39 -05:00
James Peach
c61db93c7e r21949: After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. the lenght field does not count any null.
(This used to be commit eef672bfff)
2007-10-10 14:49:39 -05:00
Stefan Metzmacher
40c2da7e89 r21943: don't send unitialized data
metze
(This used to be commit 7cb01a6495)
2007-10-10 14:49:39 -05:00
Stefan Metzmacher
ffcf96b46d r21928: fix the interface uuid of wzcsvc.
see http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_wzcsvc.html
and http://www.hsc.fr/ressources/articles/win_net_srv/msrpc_scheduler.html

thanks to jbm for the report!

metze
(This used to be commit 8bc1316741)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
ab652246b9 r21911: Some more work on making the ncacn_np handling in smbd be less special.
(This used to be commit 52f32b7330)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
86d77746db r21910: Clean up some unused functions.
(This used to be commit 36cd3406db)
2007-10-10 14:49:38 -05:00
Jelmer Vernooij
2fca3f9082 r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de1028)
2007-10-10 14:49:37 -05:00
Stefan Metzmacher
f19637f957 r21859: add a comment why we remove the rid_crypt obfuscation
metze
(This used to be commit e44b6df138)
2007-10-10 14:49:37 -05:00
Stefan Metzmacher
dcd65a50a1 r21843: the computer_dn isn't needed anymore because we don't manually reset the password
anymore

metze
(This used to be commit fee2c6d13d)
2007-10-10 14:49:36 -05:00
Stefan Metzmacher
d755269141 r21842: fix typo in comment
metze
(This used to be commit 8fcd5209ae)
2007-10-10 14:49:36 -05:00
Stefan Metzmacher
41c5453507 r21839: add my email address
metze
(This used to be commit e3be33c1d9)
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
97d2f1cc40 r21838: generate no metadata for constructed attributes
metze
(This used to be commit 7e0620e524)
2007-10-10 14:49:35 -05:00
Jelmer Vernooij
00d74b84e9 r21837: Make dcerpc_mgmt a separate library again, as the linker leaves it out when it's part of dcerpc.
(This used to be commit dc4428553e)
2007-10-10 14:49:35 -05:00
Andrew Bartlett
8afe4e7f3c r21836: Assume that if an OpenLDAP system is 'modular' then everything is a
module, so we have to bring in syncprov too.

Andrew Bartlett
(This used to be commit b9d06c70ad)
2007-10-10 14:49:35 -05:00
Andrew Tridgell
dfb04271eb r21835: fixed a rpc server bug where we failed to remove a call from one
linked list when moving it to another. This could cause a valgrind
error under the RPC-SCANNER test.
(This used to be commit 9ba8c00851)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
4f0c0997ce r21834: Remove unnecessary includes
(This used to be commit 7d10e192ca)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
0836a83f9e r21833: Don't install static libs, they can't be used anyway.
(This used to be commit 6fb7097edf)
2007-10-10 14:49:34 -05:00
Jelmer Vernooij
606c0fec43 r21830: Fix header installation, remove proto header with a single prototype.
(This used to be commit 47a17a741a)
2007-10-10 14:49:33 -05:00
Jelmer Vernooij
6bcbdc2757 r21829: Integrate mgmt in libdcerpc. We have enough libraries as it is and mgmt is part of the DCE/RPC standard.
(This used to be commit b0d05727b4)
2007-10-10 14:49:33 -05:00
Jelmer Vernooij
c1c34c4179 r21828: Hardcode prototypes, as they're a public API.
(This used to be commit 02ae0b9cde)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
37f2d53528 r21827: move comments to the place where the functionality is implemented
metze
(This used to be commit 5d49d8b9e1)
2007-10-10 14:49:33 -05:00
Stefan Metzmacher
63fd883e54 r21826: reorder functions
metze
(This used to be commit 3d0a810ccd)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
31c674bffc r21821: move comment about the becoming a dc to the code which implements it
and extent the comments a bit

metze
(This used to be commit 16c958600e)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
952a90814f r21820: move function, so that all are in top-down order as they get called
metze
(This used to be commit 38bb7f5445)
2007-10-10 14:49:32 -05:00
Stefan Metzmacher
d0f989628a r21817: give fields a meaning
metze
(This used to be commit 521355b57b)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
c8cfbfdc8b r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
(This used to be commit 37aa32e2fe)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
dd0b2572eb r21812: fixed an integer overflow error in the ndr push code.
This needs to be fixed in Samba3 as well. It might be exploitable (I
haven't confirmed one way or the other), so I think this should be
fixed for 3.0.25
(This used to be commit 4766175ff2)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
f85bb4c1c3 r21811: fixed a queueing error in the dcerpc client code. WHen the
dcerpc_ship_next_request() logic was added the penidng queue was split
in two, but we also needed to update the code which removes requests
from the queue to know about the two queues. Following the pattern
used in other client libs, I based which queue to remove from on
req->state, and added a new state RPC_REQUEST_QUEUED. This fixes a
crash that happens when rpc requests time out.

This patch also fixes the handling of timed out bind requests, and the
talloc_reference handling in dcerpc_ndr_request_recv().
(This used to be commit f51a129b52)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
676a04a056 r21807: modularise the opendb code, so different backends can be
implemented. This will allow for a ctdb opendb backend.
(This used to be commit 6b91ca0968)
2007-10-10 14:49:29 -05:00
Andrew Bartlett
9b03286b32 r21806: I've been working over the last week to fix up the LDAP backend for
Samba4.  This only broke on global catalog queries, which turned out to
be due to changes in the partitions module that metze needed for his
DRSUAPI work.

I've reworked partitions.c to always include the 'problematic' control,
and therefore demonstrated that this is the issue.  This ensures
consistency, and should help with finding issues like this in future.

As this control (DSDB_CONTROL_CURRENT_PARTITION_OID) is not intended to
be linearised, I've added logic to allow it to be skipped when creating
network packets.

I've likewise make our LDAP server skip unknown controls, when marked
'not critical' on it's input, rather than just dropping the entire
request.  I need some help to generate a correct error packet when it is
marked critical.

Further work could perhaps be to have the ldap_encode routine return a
textual description of what failed to encode, as that would have saved
me a lot of time...

Andrew Bartlett
(This used to be commit eef710668f)
2007-10-10 14:49:29 -05:00
Andrew Bartlett
b6b98f6300 r21805: Add PAC_TYPE_CONSTRAINED_DELEGATION to the PAC_TYPE enum.
(This used to be commit 6fb3b4be10)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
252331a35d r21799: tell roken.h.in to not generate prototypes for setenv() and unsetenv()
metze
(This used to be commit 974eb5eb68)
2007-10-10 14:49:29 -05:00
Stefan Metzmacher
8988113a42 r21798: unsetenv() returns void on some platforms (BSD)
metze
(This used to be commit 9cdb9f1cee)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d464f0e78b r21797: remove the key directly from the environ array
inspired by:
http://cvs.linux-ha.org/viewcvs/viewcvs.cgi/linux-ha/replace/unsetenv.c?rev=1.4&view=auto

metze
(This used to be commit 8787525e51)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
de75e93817 r21796: check if unsetenv() works on an non-existing key
metze
(This used to be commit c6b4f2d151)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
14233bb76f r21795: fix the prototype of unsetenv()...
metze
(This used to be commit 2952c20b77)
2007-10-10 14:49:28 -05:00
Stefan Metzmacher
d358087227 r21794: add setenv()/unsetenv() testsuite
metze
(This used to be commit 3df206ddfa)
2007-10-10 14:49:27 -05:00
Stefan Metzmacher
544a2d30e0 r21793: add replacement for unsetenv()
metze
(This used to be commit d6de7f2cda)
2007-10-10 14:49:27 -05:00
Andrew Bartlett
9b921af12e r21791: This test is still just as valid without as much CPU time wasted.
Andrew Bartlett
(This used to be commit 3549785700)
2007-10-10 14:49:27 -05:00
Andrew Bartlett
67e22aa6ff r21790: Setup the socket_wrapper_dir when we set the environment variable.
Andrew Bartlett
(This used to be commit 5c07dbd248)
2007-10-10 14:49:26 -05:00
Andrew Bartlett
7b706c7091 r21789: We do actually need this, to get a contextCSN attribute, which we need
for USN support.

Andrew Bartlett
(This used to be commit 5f36350243)
2007-10-10 14:49:26 -05:00
Stefan Metzmacher
3e697d5110 r21773: fix typo orginating -> originating
and use the struct member names in all cases

metze
(This used to be commit c543ee5745)
2007-10-10 14:49:24 -05:00
Stefan Metzmacher
4e7520f643 r21772: add DS_BEHAVIOR_WIN2003_INTERIM constant
metze
(This used to be commit 59fffa7ba1)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
7a9f31a926 r21771: We just don't need to test this on more than one transport.
Andrew Bartlett
(This used to be commit c55edacba5)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
3370f2f2d7 r21761: - Give more detail on LDAP client library failures (make it clear
where the error is from)

- Make default error string more consistant

Andrew Bartlett
(This used to be commit 7f115579d2)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
f80d21069b r21760: Try to pin down were some errors are coming from. Ensure we at least
name the module.

Andrew Bartlett
(This used to be commit 2e85b1583b)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
35a606378d r21751: These 2 tests pass for me, so add them to the standard test script.
Andrew Bartlett
(This used to be commit 8a5b3067e9)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
548ffe7cf6 r21746: We don't link in this file any more.
(This used to be commit 123ae858c7)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
5f2f653dcb r21745: indent
(This used to be commit 7841b29906)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
85a11bc1bb r21744: Test more talloc failure cases.
Andrew Bartlett
(This used to be commit ddf7354986)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
45be80844e r21743: Always use the 'escaped' LDAPI path.
Wait around for the server to start, so we don't try to contact it
during it's starup phase.

Andrew Bartlett
(This used to be commit f484b0a924)
2007-10-10 14:49:22 -05:00
Andrew Tridgell
0012f7509a r21742: reenable the smbclient test now that the d_printf bug is fixed
(This used to be commit f483f5b26a)
2007-10-10 14:49:22 -05:00
Andrew Bartlett
d500181515 r21741: Like starting smbd, ensure we have acutally started slapd, and it is
listening, before we continue.

Andrew Bartlett
(This used to be commit 171540e06a)
2007-10-10 14:49:21 -05:00
Andrew Tridgell
793db3bc50 r21740: this fixes the real cause of the large log files we had. The problem
was we were not checking the result of a convert_string() call, and it
was giving -1. We then passed -1 to fwrite() on stdout, which on aix
and macosx wrote all of available memory to stdout :)

To fix this, replace non-printing chars with ? in d_printf if the
string cannot be converted
(This used to be commit d20102d363)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
41a72a506f r21739: Make it easy to change the log level for the slapd processes, and have
the logs go to a file.

Andrew Bartlett
(This used to be commit 9aaa193197)
2007-10-10 14:49:21 -05:00
Andrew Bartlett
847102c6ca r21736: Fix the smbclient test to do something more interesting with the last
few authentication tests.  Now that the tests correctly 'fail', I was
able to fix the credentials subsystem to honour USER and PASSWD.

To get --machine-pass working, I needed ldb to always load it's static
modules, so I put this in ldb_connect().

Andrew Bartlett
(This used to be commit 3430d8c072)
2007-10-10 14:49:20 -05:00
Andrew Tridgell
b0b31f52f7 r21735: skip the smbclient test until jelmer can take a look at it. The
current test makes no sense with the new test system. For example, it
does "mkdir bla" then "cd bla" then "cd ..", but it now does these as
separate smbclient commands, which makes no sense at all. It even
seems to try to run them in parallel???

The test fails (segfault, plus lots of errors), but gets reported as a
success
(This used to be commit 9e3bbdee50)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
eaa02e4b54 r21733: Merge testenv back into core selftest.pl
(This used to be commit 4b78ed3a60)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
8fdbf34ea7 r21732: Use smbtorture for enumerating tests.
(This used to be commit f6aa921521)
2007-10-10 14:49:20 -05:00
Jelmer Vernooij
f91f57b749 r21730: Reintroduce summary for testenv, remove old (no longer used) file.
(This used to be commit 0140aa5fd9)
2007-10-10 14:49:19 -05:00
Jelmer Vernooij
effbda4fd8 r21729: Some more tests
(This used to be commit d2baa8218c)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
904c03abc4 r21728: Perhaps we don't need this on recent OpenLDAP servers. This overlay
is depricated.

Andrew Bartlett
(This used to be commit 32e39b377a)
2007-10-10 14:49:19 -05:00
Andrew Bartlett
aeaa440932 r21727: Walk some more of the error branches in the ChangePasswordUser server.
Andrew
(This used to be commit c1ee06703a)
2007-10-10 14:49:18 -05:00
Volker Lendecke
0aebd296cd r21722: Add the dead record functionality presented on samba-technical@samba.org. If
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.

Volker
(This used to be commit 98a27ab28a)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
0fa6e86b57 r21721: Push the 'Success! Your new directory server instance was created'
message to stderr.

Andrew Bartlett
(This used to be commit 0b8b3f6671)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
6376a474c7 r21720: Try to make 'TEST_LDAP=yes make test' work again. These recent
changes seem to have been lost in the merge, and some variables were
not yet exported.

Andrew Bartlett
(This used to be commit ee9d9fb6c0)
2007-10-10 14:49:18 -05:00
Andrew Bartlett
3e1dd63927 r21719: Try to cover more of the server-side password processing.
Don't just exit the test with 'return True', actually process the result.

Turn off password complexity checking for the password length test.

Andrew Bartlett
(This used to be commit 1a7635baa7)
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
ac9bb2e4fb r21716: Report status in a way the build farm recognizes.
(This used to be commit 8d775e87b5)
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
70e6a8bfec r21713: Redirect stderr output to stdout.
(This used to be commit a5000b286d)
2007-10-10 14:49:17 -05:00
Jelmer Vernooij
15d4047d06 r21712: Run tdb stress test.
(This used to be commit e480beb956)
2007-10-10 14:49:16 -05:00
James Peach
754d416ea5 r21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
QueryPath and FindFirst calls. Add a new torture test to verify the
server side.
(This used to be commit 7f56da2d1f)
2007-10-10 14:49:16 -05:00
Jelmer Vernooij
804ac30704 r21709: Add a list of tests that should be skipped rather than ad-hoc test skipping in various places.
(This used to be commit 01befd5211)
2007-10-10 14:49:16 -05:00
Jelmer Vernooij
72d88d158a r21707: Finally merge my (long-living) perlselftest branch.
This changes the main selftest code to be in perl rather than in shell script.

The selftest script is now no longer a black box but a regular executable that takes
--help.

This adds the following features:

 * "make test TESTS=foo" will run only the tests that match the regex "foo"
 * ability to deal with expected failures. the suite will not warn about tests
   that fail and are known to fail, but will warn about other failing tests and
   tests that are succeeding tests but incorrectly marked as failing.
 * ability to print a summary with all failures at the end of the run

It also opens up the way to the following features, which I hope to implement later:
 * "environments", for example having a complete domains with DCs and domain members
 in a testenvironment
 * only set up smbd if necessary (not when running LOCAL tests, for example)
 * different mktestsetup scripts per target. except for the mktestsetup script, we can
   use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880b)
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
d18afd6aee r21701: Fix ejs tests.
(This used to be commit e4cf8f1dea)
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
000a094318 r21700: Run mktestsetup as an external program. This guarantees that it can be used for other selftest implementations (in particular the perl one I've been working on).
(This used to be commit aa29907327)
2007-10-10 14:49:15 -05:00
Andrew Bartlett
0a1fefe539 r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
this incorrect argument.

This also fixes the server-side valgrind issue, but we need to chase
down the real issue.

Andrew Bartlett
(This used to be commit a0c78a75ac)
2007-10-10 14:49:15 -05:00
Andrew Bartlett
c069ead0bb r21698: Check for talloc failures.
Andrew Bartlett
(This used to be commit c9eb5bf19a)
2007-10-10 14:49:14 -05:00
Andrew Bartlett
099a3a7f52 r21697: Try to cover the 'bad session key' codepaths too.
Andrew Bartlett
(This used to be commit 33cfe1ca22)
2007-10-10 14:49:14 -05:00
Andrew Bartlett
6bca66d7d1 r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer for
routines for which we don't have any tests.

Andrew Bartlett
(This used to be commit e5b9bdf037)
2007-10-10 14:49:14 -05:00
Jelmer Vernooij
ae49e533ab r21695: Fix on bigendian systems.
(This used to be commit 98f92dd6a1)
2007-10-10 14:49:14 -05:00
Jelmer Vernooij
1d75e907e2 r21694: Some more testing updates.
(This used to be commit 9247626b1c)
2007-10-10 14:49:13 -05:00
Andrew Bartlett
0a28fbae1b r21693: Fix the RPC-SCANNER test. Share some code with the RPC-MGMT test to
make things easier to keep working.

Andrew Bartlett
(This used to be commit 16db4c1436)
2007-10-10 14:49:13 -05:00
Andrew Bartlett
32cdb5aa31 r21692: Test with LDAP, but without the non-block testing. This is not
compatible with the TLS layer at the moment.

https://bugzilla.samba.org/show_bug.cgi?id=4431

Andrew Bartlett
(This used to be commit 1e401286f9)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
0474005d07 r21691: Add testsuite for lib/charset
(This used to be commit a418489395)
2007-10-10 14:49:13 -05:00
Jelmer Vernooij
faaac73ff6 r21690: Test use of typedef /and/ struct name
(This used to be commit f6d9cdb8a8)
2007-10-10 14:49:12 -05:00
Andrew Bartlett
eb3d3fb27a r21689: Try to walk a bit more of the param/loadparm.c functions, as well as
validating that we have a correct configuration before we even start
testing.

Andrew Bartlett
(This used to be commit c399b20b44)
2007-10-10 14:49:12 -05:00
Jelmer Vernooij
bf08493a78 r21688: Add simple tests for genrand
(This used to be commit 90f23f0de8)
2007-10-10 14:49:12 -05:00
Andrew Bartlett
112e520073 r21687: Always test LDAP and LDAPS
(This used to be commit e830b81596)
2007-10-10 14:49:11 -05:00
Andrew Bartlett
737d24c9fc r21686: Do enable TLS, as we have solved the key setup problems, and we need
to get the TLS code covered.

Andrew Bartlett
(This used to be commit 4aa928dac3)
2007-10-10 14:49:11 -05:00
Jelmer Vernooij
d693c2707b r21685: Add some unit tests for the registry utility functions.
(This used to be commit 0ae6d18ebe)
2007-10-10 14:49:11 -05:00
Jelmer Vernooij
6cec40529d r21684: remove summary line for gtk code, as it's now maintained out-of-tree
(This used to be commit 0200971142)
2007-10-10 14:49:11 -05:00
Jelmer Vernooij
e465953662 r21683: Remove the gconf registry backend.
It's already been disabled for a while, as it required some compile flags that broke other things.

While this backend was an interesting proof-of-concept, this module doesn't really add any value.
It's not possible to map between windows registry and gconf semantics and I can't think of
any reason why you would want to do so.
(This used to be commit 02481df3e8)
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
f29b5e90b1 r21682: Remove accidently committed debug command.
(This used to be commit 74a3681d65)
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
035adfb943 r21681: Fix bug in the parsing code that parsed "struct foo;" the same as
"struct foo {};".

Reported by one of the OpenChange folks, thanks!
(This used to be commit d65b520f08)
2007-10-10 14:49:10 -05:00
Jelmer Vernooij
1ec8f79bae r21680: Reenable CLDAP test
(This used to be commit c6dfc90daf)
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
e8fe61e7ae r21679: Disable upgrade test for now, I can't get it to work.
(This used to be commit 4929c07261)
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
df1033b17e r21678: Don't generate Requires.private lines for install .pc files. Static library use by external programs is still broken, but this should at least fix shared libs.
(This used to be commit 06659bce1b)
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
a4a9772e2c r21677: Run some of the other ldap tests, too
(This used to be commit b8f43e1eb1)
2007-10-10 14:49:09 -05:00
Jelmer Vernooij
2de3bbbdb0 r21676: Run more NET tests
(This used to be commit 06eb2faebb)
2007-10-10 14:49:08 -05:00
Jelmer Vernooij
a42b35a4c5 r21675: Run some more of the NET tests.
(This used to be commit 778a150f35)
2007-10-10 14:49:08 -05:00
Jelmer Vernooij
068cc7d4d5 r21674: Fix argument
(This used to be commit 43e1cccf11)
2007-10-10 14:49:08 -05:00
Jelmer Vernooij
99fb785ea1 r21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one is broken, so that one is still disabled.
(This used to be commit ef794f03d5)
2007-10-10 14:49:08 -05:00
Jelmer Vernooij
1cc7b6e739 r21671: Add initial simple tests for socket wrapper
(This used to be commit 872e2ad541)
2007-10-10 14:49:07 -05:00
Jelmer Vernooij
0d0e4c99ca r21670: More tests
(This used to be commit eeb3b2ff68)
2007-10-10 14:49:07 -05:00
Jelmer Vernooij
bedf53f9e0 r21669: Fix --enable-dso build
(This used to be commit 7cf9d07c88)
2007-10-10 14:49:07 -05:00
James Peach
fcaeedeff3 r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. Add
convenience API to create an anonymous credential. Don't clobber
cmdline_credentials in the UNIX-WHOAMI test.
(This used to be commit 73cea4e0c6)
2007-10-10 14:49:07 -05:00
Jelmer Vernooij
9ca1a3c186 r21662: More samr tests
(This used to be commit 2eae55819e)
2007-10-10 14:49:06 -05:00
Jelmer Vernooij
acdfe6dcd8 r21661: Put direction in test name
(This used to be commit bb0ebdab63)
2007-10-10 14:49:06 -05:00
Jelmer Vernooij
648fe6610e r21660: Add another test
(This used to be commit 0b1e793ed5)
2007-10-10 14:49:06 -05:00
James Peach
737454d6a0 r21659: Rename functions.
(This used to be commit 6e645577a6)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
83d88d1521 r21658: Add some tests for SAMR NDR
(This used to be commit a36912721a)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
1afda7bdde r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier.
(This used to be commit 4d755fb5d7)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
f653871d77 r21654: Add simple test for print functions.
(This used to be commit 3c9df011a8)
2007-10-10 14:49:05 -05:00
Jelmer Vernooij
04fed31e1a r21653: Add two more tdr tests.
(This used to be commit cc40e3acd9)
2007-10-10 14:49:04 -05:00
Jelmer Vernooij
678c401d3e r21650: Update ndrdump to work in samba3
(This used to be commit 10295d9bdd)
2007-10-10 14:49:04 -05:00
Andrew Bartlett
b9df742fb4 r21649: Update self test scripts to start Fedora DS. This requires current
Fedora DS CVS, plus changes to split up 00core.ldif.

Now we 'just' need to work to make the tests pass...

Andrew Bartlett
(This used to be commit d214cb1ccf)
2007-10-10 14:49:04 -05:00
James Peach
0fff7ba143 r21648: Start a UNIX extensions test set. Add a test for the SMBWhoami query.
(This used to be commit ca89683dc2)
2007-10-10 14:49:04 -05:00
Andrew Tridgell
3bdf3aa144 r21620: commit updated versions (with correct paths)
(This used to be commit 2694bfb143)
2007-10-10 14:49:03 -05:00
Andrew Tridgell
084978b6b4 r21618: an attempt to fix the problem with lcov and yacc generated C code
(This used to be commit e9d17b5ba0)
2007-10-10 14:49:03 -05:00
Stefan Metzmacher
9c9ec64518 r21595: add a constant and some comments
metze
(This used to be commit b8af925da9)
2007-10-10 14:49:03 -05:00
Stefan Metzmacher
c6b66db2b2 r21594: give the same error in all resolve backends
metze
(This used to be commit 5534ba591d)
2007-10-10 14:49:03 -05:00
Stefan Metzmacher
e31d922592 r21593: give a more useful error, when we can't resolve a long name
via broadcast of wins

metze
(This used to be commit 49591d6996)
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
7f13043d7e r21592: compress_name() returns NULL for names longer than 15 chars
giving NO_MEMORY back is ugly, so give a useful error

metze
(This used to be commit fbc1e16331)
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
505fd4eb99 r21591: add new error code
metze
(This used to be commit 04da3db29d)
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
b1a80dcec0 r21590: add RPC-HANDLES-MIXED-SHARED test, which shows that
assoc_groups are shared between idl-interfaces and connections.

But you can't close a samr policy handle on a lsa pipe.

add RPC-HANDLES-RANDOM-ASSOC test, which shows that
you can't bind with an invalid assoc_group_id

metze
(This used to be commit 26b0e03a77)
2007-10-10 14:49:01 -05:00
Stefan Metzmacher
ca14957d50 r21589: give an error when the assoc_group_id isn't 0
TODO: we need to correctly implement assoc groups!

metze
(This used to be commit df7c6c6e0b)
2007-10-10 14:49:01 -05:00
Stefan Metzmacher
9545dc2835 r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstrates
policy handles can be shared between connections

metze
(This used to be commit 874cb39366)
2007-10-10 14:49:01 -05:00
Jelmer Vernooij
6394f3ec4b r21586: update manifest
(This used to be commit 6ec3c5430d)
2007-10-10 14:49:01 -05:00
Jelmer Vernooij
5ba8169109 r21584: Support for tagged types has landed!
It's now possible to use "struct foo" without a typedef in IDL files.

echo_info4 is the first type that's been converted.
(This used to be commit 3ac68e858d)
2007-10-10 14:49:00 -05:00
Stefan Metzmacher
c200374325 r21583: add missing CN=
metze
(This used to be commit 199416a4d3)
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
82266dc22f r21582: Allow modification of LDFLAGS
(This used to be commit 1726bd3378)
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
179a9c7210 r21580: Add generic target for test coverage data.
(This used to be commit a41b72458d)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
3bc13d6eed r21579: Use utility function to determine function names in ejs code.
(This used to be commit 1736de4c73)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
4c99e87f9b r21578: Use utility function for naming pull/push/print functions.
(This used to be commit e0f626b79c)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
240b470f44 r21575: Fix handling of is_scalar() for declares.
(This used to be commit f0bc29df72)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
a635df47da r21574: Fix handling of DECLARE.
(This used to be commit 6a4033464b)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
c1aef15fe7 r21573: Remove more code that assumed all types are typedefs.
(This used to be commit bbbfbfa870)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
d7a7b7fb0c r21572: More work towards supporting tagged types.
(This used to be commit 4d28396f09)
2007-10-10 14:48:58 -05:00
Andrew Tridgell
3d61a1bbdd r21571: added RPC-HANDLES test to make test
(This used to be commit 73da5e368b)
2007-10-10 14:48:58 -05:00
Andrew Tridgell
bedc59ca5c r21570: added a RPC-HANDLES test that tries to show that rpc policy handles
are not shared between connections. It tests three types of policy
handles, on lsa, samr and drsuapi. You need to run on ncacn_ip_tcp
with seal for drsuapi.

Metze, can you have a look and see how this tallies with what you've
seen?
(This used to be commit c1f41ac045)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
f5f0e502b3 r21568: More tests.
(This used to be commit c7bde9c1f5)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
6f3c968e64 r21567: Add some more wireshark tests.
(This used to be commit 40e2956058)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
7870652898 r21564: Move ndrdump to librpc/tools.
(This used to be commit e3cc94e7d1)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
cdb18fd22d r21559: More tests.
(This used to be commit c68573392b)
2007-10-10 14:48:56 -05:00
Jelmer Vernooij
2916cc628a r21555: Some tests for TYPE in wireshark conformance files.
(This used to be commit 2a44c8c9c2)
2007-10-10 14:48:56 -05:00
Andrew Bartlett
ad3b40d258 r21554: Use a snippet from tridge's junkcode to cause us to wait for smbd to
exit.

If we kill smbd right away, we can interrupt the gcov data file
writeout.  Instead, we now wait up to 20 seconds for the process to
exit, before sending it a kill -9.

Andrew Bartlett
(This used to be commit c547bce3d3)
2007-10-10 14:48:56 -05:00
Andrew Bartlett
e2aa39b024 r21553: Remove bogus comment.
(This used to be commit 7c5529729b)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
43679c82f4 r21545: Fix pidl test.
(This used to be commit ed0a7f5091)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
e31197308c r21544: Fix duplicate names. The build system should be warning about this....
(This used to be commit 623026f67a)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
fd2d095048 r21541: Export mgmt, samr and atsvc for use in samba-gtk.
(This used to be commit 7f451cbb8d)
2007-10-10 14:48:55 -05:00
Stefan Metzmacher
8c62b4c951 r21539: try to get rid of all valgrind warnings...
metze
(This used to be commit 21f0e8e163)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
815d3f2e68 r21538: this looks better...
metze
(This used to be commit 8ddfbbcb93)
2007-10-10 14:48:54 -05:00
Andrew Tridgell
60fd088c48 r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
using the pattern in the clilsa code, it didn't fill in the p->binding
structure. This affects nearly all users of dcerpc_pipe_open_smb(), so
the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises
the binding if its not already there.

- re-enable the RAW-ACLS test
(This used to be commit d8875c286d)
2007-10-10 14:48:54 -05:00
Jelmer Vernooij
b8c219a270 r21534: Add some more tests for wireshark.
(This used to be commit b104320961)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
0e617102ef r21533: try to get rid of the valgrind warnings of uninitialized memory
passed to a socket

metze
(This used to be commit 18ce338447)
2007-10-10 14:48:53 -05:00
Jelmer Vernooij
cb8fceab28 r21532: Add tests for StripPrefixes utility function.
(This used to be commit 365052555e)
2007-10-10 14:48:53 -05:00
Jelmer Vernooij
882c5a8b43 r21531: Use pidl-specific utility functions. Patch from Ronnie Sahlberg
(This used to be commit e6fdcdf95e)
2007-10-10 14:48:53 -05:00
Brad Henry
c7e06e88ae r21528: This file gets called by testit(), so it shouldn't call testit().
NET tests against Windows weren't getting run, testit() here just created a recipe.
(This used to be commit c71dee3402)
2007-10-10 14:48:52 -05:00
Stefan Metzmacher
8d569e174f r21524: don't send unitialized data to the socket
metze
(This used to be commit 50955aa669)
2007-10-10 14:48:51 -05:00
Stefan Metzmacher
3260b55188 r21523: fix a valgrind warning, we write the struct content to the file and should not leave
t2.out uninialized

metze
(This used to be commit 4723374d14)
2007-10-10 14:48:50 -05:00
Brad Henry
59d5e6a1b0 r21522: Stop passing the VM config file path to wintest_2k3_dc.sh on the command line.
Forgot this one in the last commit.
(This used to be commit 2982d9e90c)
2007-10-10 14:48:50 -05:00
Brad Henry
74e23c7e7a r21521: Add missing quotes around shell variables which could have spaces.
Stop passing the VM config file path to wintest_2k3_dc.sh on the command line as it is now properly passed through the environment.

Windows tests, including the DC tests found in test_w2k3.sh should work properly with 'make wintest' and a configured VMware environment.
These tests are executed on build-farm host bnhtest.
(This used to be commit 7496a28b43)
2007-10-10 14:48:50 -05:00
Stefan Metzmacher
067d8fd44c r21520: fix the altercontext test... sorry
I'm only fixing the bug I introduced here,
not the rest of the mess in the pipe handling,
as we don't fill in pipe->binding and pipe->conn->binding_str
consistant...

metze
(This used to be commit cec74f3528)
2007-10-10 14:48:49 -05:00
Stefan Metzmacher
a626e5a274 r21519: when we want to send non initialized data, then
generate a random buffer explicit to make valgrind happy

found by valgrind in the build-farm on fort, there are some more places
like this...

metze
(This used to be commit 2654f595ca)
2007-10-10 14:48:49 -05:00
Stefan Metzmacher
041b0cfa97 r21518: fix panic, sorry...
metze
(This used to be commit 3c786eb6bd)
2007-10-10 14:48:49 -05:00
Stefan Metzmacher
d92bc6db36 r21516: - use the same assoc_group_id, for all 3 drsuapi connection
- use the PFC_CONC_MPX flag for the 3rd connection
- to DsGetNCChanges requests on the 3rd connection with the bind handle
  from the 2nd connection to match w2k3

metze
(This used to be commit 5071af332c)
2007-10-10 14:48:48 -05:00
Stefan Metzmacher
1b17d9a587 r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some names
also make it possible to pass and get the assoc_group_id for
a pipe.

also make it possible to pass the DCERPC_PFC_FLAG_CONC_MPX flag
in bind requests. From the spec it triggers support for
concurrent multiplexing on a single connection.

w2k3 uses the assoc_group_id feature when it becomes a domain controller
of an existing domain. Know the ugly part, with this it's possible to
use a policy handle from one connection on a different one...

typically the DsBind() call is on the 1st connection while DsGetNCChanges()
call using the first connections bind handle are on the 2nd connection.

The second connection also has the DCERPC_PFC_FLAG_CONC_MPX flag attached,
but that doesn't seem to be related to the cross connection handle usage

Can anyone think of a nice way to implement the assoc_group_id stuff in our server?

metze
(This used to be commit 2d8c85397d)
2007-10-10 14:48:48 -05:00