Jelmer Vernooij [Mon, 5 Mar 2007 21:28:55 +0000 (21:28 +0000)]
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
38f867880beb40c691e9713f854426031310629c)
Jelmer Vernooij [Mon, 5 Mar 2007 14:18:07 +0000 (14:18 +0000)]
r21701: Fix ejs tests.
(This used to be commit
e4cf8f1dea9063b9b83e629ea0e7a116bf4fc5f7)
Jelmer Vernooij [Mon, 5 Mar 2007 13:51:05 +0000 (13:51 +0000)]
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
aa29907327a91a64c769b1f2712f553e13964418)
Andrew Bartlett [Mon, 5 Mar 2007 11:48:15 +0000 (11:48 +0000)]
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
a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)
Andrew Bartlett [Mon, 5 Mar 2007 10:28:24 +0000 (10:28 +0000)]
r21698: Check for talloc failures.
Andrew Bartlett
(This used to be commit
c9eb5bf19a702af32a4e4f109a27e4076303efdc)
Andrew Bartlett [Mon, 5 Mar 2007 09:54:37 +0000 (09:54 +0000)]
r21697: Try to cover the 'bad session key' codepaths too.
Andrew Bartlett
(This used to be commit
33cfe1ca221de9ef9dec264772fb299125c39447)
Andrew Bartlett [Mon, 5 Mar 2007 03:02:43 +0000 (03:02 +0000)]
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
e5b9bdf03729a913f3c6cc7709abcbdf50899562)
Jelmer Vernooij [Mon, 5 Mar 2007 01:58:35 +0000 (01:58 +0000)]
r21695: Fix on bigendian systems.
(This used to be commit
98f92dd6a1e7f096b328d80c5efdc6600a5de007)
Jelmer Vernooij [Mon, 5 Mar 2007 01:50:33 +0000 (01:50 +0000)]
r21694: Some more testing updates.
(This used to be commit
9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
Andrew Bartlett [Mon, 5 Mar 2007 01:23:44 +0000 (01:23 +0000)]
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
16db4c1436725e41ea05628f20fc9396d7bd7eaa)
Andrew Bartlett [Mon, 5 Mar 2007 00:18:38 +0000 (00:18 +0000)]
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
1e401286f94897f83d89d1a87027e988eb6deac5)
Jelmer Vernooij [Mon, 5 Mar 2007 00:11:46 +0000 (00:11 +0000)]
r21691: Add testsuite for lib/charset
(This used to be commit
a4184893959bb25541704938ee621e5c575b817d)
Jelmer Vernooij [Mon, 5 Mar 2007 00:03:44 +0000 (00:03 +0000)]
r21690: Test use of typedef /and/ struct name
(This used to be commit
f6d9cdb8a8eca6ff986504d4481b5165aee770c6)
Andrew Bartlett [Sun, 4 Mar 2007 23:55:43 +0000 (23:55 +0000)]
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
c399b20b44d396dea69ed81b7d80982611ed25e4)
Jelmer Vernooij [Sun, 4 Mar 2007 22:36:41 +0000 (22:36 +0000)]
r21688: Add simple tests for genrand
(This used to be commit
90f23f0de86bb63ad65556ff2dab8b066236f300)
Andrew Bartlett [Sun, 4 Mar 2007 21:16:57 +0000 (21:16 +0000)]
r21687: Always test LDAP and LDAPS
(This used to be commit
e830b815962da575aea9f9dc6bfee8eda8ec43c9)
Andrew Bartlett [Sun, 4 Mar 2007 21:02:48 +0000 (21:02 +0000)]
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
4aa928dac3797664c498094f171ef111f10ab30a)
Jelmer Vernooij [Sun, 4 Mar 2007 19:52:16 +0000 (19:52 +0000)]
r21685: Add some unit tests for the registry utility functions.
(This used to be commit
0ae6d18ebe382a378ff1dc65069c629d8060ac2b)
Jelmer Vernooij [Sun, 4 Mar 2007 18:35:42 +0000 (18:35 +0000)]
r21684: remove summary line for gtk code, as it's now maintained out-of-tree
(This used to be commit
0200971142b15248d7979746e4c3ada14e62bf4f)
Jelmer Vernooij [Sun, 4 Mar 2007 18:21:59 +0000 (18:21 +0000)]
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
02481df3e8653ab366cb73d124e52bc9551bb717)
Jelmer Vernooij [Sun, 4 Mar 2007 14:31:18 +0000 (14:31 +0000)]
r21682: Remove accidently committed debug command.
(This used to be commit
74a3681d65f570acf2756b40e0ad82799b86e9ec)
Jelmer Vernooij [Sun, 4 Mar 2007 14:16:52 +0000 (14:16 +0000)]
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
d65b520f08ea4ee82c35ff334a58aa6ffc403d67)
Jelmer Vernooij [Sat, 3 Mar 2007 18:42:11 +0000 (18:42 +0000)]
r21680: Reenable CLDAP test
(This used to be commit
c6dfc90daf9c7ce0fe9a4d4ac7c1c278a694ef9f)
Jelmer Vernooij [Sat, 3 Mar 2007 16:22:05 +0000 (16:22 +0000)]
r21679: Disable upgrade test for now, I can't get it to work.
(This used to be commit
4929c07261443887608a845de16f1fb786efb7ba)
Jelmer Vernooij [Sat, 3 Mar 2007 15:53:09 +0000 (15:53 +0000)]
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
06659bce1b5dc7529d0984deadd451478c082773)
Jelmer Vernooij [Sat, 3 Mar 2007 15:34:53 +0000 (15:34 +0000)]
r21677: Run some of the other ldap tests, too
(This used to be commit
b8f43e1eb1f626690df61e75ce1a06a94d19cf64)
Jelmer Vernooij [Sat, 3 Mar 2007 15:27:45 +0000 (15:27 +0000)]
r21676: Run more NET tests
(This used to be commit
06eb2faebb331e9385f39b27e82e399d34b8b938)
Jelmer Vernooij [Sat, 3 Mar 2007 15:12:33 +0000 (15:12 +0000)]
r21675: Run some more of the NET tests.
(This used to be commit
778a150f35152ae435632434561fb205d25bc604)
Jelmer Vernooij [Sat, 3 Mar 2007 15:01:05 +0000 (15:01 +0000)]
r21674: Fix argument
(This used to be commit
43e1cccf112f850cb70ab78f56ea1d0c233e45fa)
Jelmer Vernooij [Sat, 3 Mar 2007 02:06:54 +0000 (02:06 +0000)]
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
ef794f03d50022a77303c77045a04d9407d07cbc)
Jelmer Vernooij [Sat, 3 Mar 2007 01:20:36 +0000 (01:20 +0000)]
r21671: Add initial simple tests for socket wrapper
(This used to be commit
872e2ad541478597191ca9e31872d5c8e2bbb832)
Jelmer Vernooij [Sat, 3 Mar 2007 00:57:41 +0000 (00:57 +0000)]
r21670: More tests
(This used to be commit
eeb3b2ff68a414b2d7c828124c148015f6fa2fe9)
Jelmer Vernooij [Sat, 3 Mar 2007 00:27:46 +0000 (00:27 +0000)]
r21669: Fix --enable-dso build
(This used to be commit
7cf9d07c88b0c81777bb9363d445ac657982a366)
James Peach [Fri, 2 Mar 2007 23:24:27 +0000 (23:24 +0000)]
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
73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
Jelmer Vernooij [Fri, 2 Mar 2007 19:13:58 +0000 (19:13 +0000)]
r21662: More samr tests
(This used to be commit
2eae55819ec51dc53aa8bdea7b777cb2e8444cea)
Jelmer Vernooij [Fri, 2 Mar 2007 18:27:45 +0000 (18:27 +0000)]
r21661: Put direction in test name
(This used to be commit
bb0ebdab63bd8ba643f372fda8fe2ef4d600035b)
Jelmer Vernooij [Fri, 2 Mar 2007 18:01:43 +0000 (18:01 +0000)]
r21660: Add another test
(This used to be commit
0b1e793ed56e3c4c592d8baaf3139e42b01b942b)
James Peach [Fri, 2 Mar 2007 17:47:58 +0000 (17:47 +0000)]
r21659: Rename functions.
(This used to be commit
6e645577a60bc79431a962b6522e8592b7c50e98)
Jelmer Vernooij [Fri, 2 Mar 2007 16:20:48 +0000 (16:20 +0000)]
r21658: Add some tests for SAMR NDR
(This used to be commit
a36912721ae84d3a1702bd83d735cc1097968f46)
Jelmer Vernooij [Fri, 2 Mar 2007 14:53:09 +0000 (14:53 +0000)]
r21656: Move tests a bit closer to the things they test, should make syncing with samba3 easier.
(This used to be commit
4d755fb5d7adedd1dd8bad917b921324411bfd59)
Jelmer Vernooij [Fri, 2 Mar 2007 14:05:52 +0000 (14:05 +0000)]
r21654: Add simple test for print functions.
(This used to be commit
3c9df011a85aa8178a26d66faaaed5c88757800e)
Jelmer Vernooij [Fri, 2 Mar 2007 13:44:56 +0000 (13:44 +0000)]
r21653: Add two more tdr tests.
(This used to be commit
cc40e3acd95aecea481a65e936d311b815c6e9ae)
Jelmer Vernooij [Fri, 2 Mar 2007 12:47:51 +0000 (12:47 +0000)]
r21650: Update ndrdump to work in samba3
(This used to be commit
10295d9bdd035c008fa7dafef0426c1e86250ac9)
Andrew Bartlett [Fri, 2 Mar 2007 09:16:26 +0000 (09:16 +0000)]
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
d214cb1ccf1b30cd5cb81f98382626c609b23fa3)
James Peach [Fri, 2 Mar 2007 05:58:22 +0000 (05:58 +0000)]
r21648: Start a UNIX extensions test set. Add a test for the SMBWhoami query.
(This used to be commit
ca89683dc28104a8cee23b0c1428350f22a68c99)
Andrew Tridgell [Thu, 1 Mar 2007 04:37:26 +0000 (04:37 +0000)]
r21620: commit updated versions (with correct paths)
(This used to be commit
2694bfb143eeb78a9a0b121dbc6a3e0a908ca06c)
Andrew Tridgell [Thu, 1 Mar 2007 03:32:46 +0000 (03:32 +0000)]
r21618: an attempt to fix the problem with lcov and yacc generated C code
(This used to be commit
e9d17b5ba0846fbe47b5e4001f5f6394884961d1)
Stefan Metzmacher [Wed, 28 Feb 2007 17:27:35 +0000 (17:27 +0000)]
r21595: add a constant and some comments
metze
(This used to be commit
b8af925da9c515f3803aa813ef5e4cded892a525)
Stefan Metzmacher [Wed, 28 Feb 2007 17:26:25 +0000 (17:26 +0000)]
r21594: give the same error in all resolve backends
metze
(This used to be commit
5534ba591deb362e30e40afff923af4b890ab7a9)
Stefan Metzmacher [Wed, 28 Feb 2007 17:25:29 +0000 (17:25 +0000)]
r21593: give a more useful error, when we can't resolve a long name
via broadcast of wins
metze
(This used to be commit
49591d699653e48f2e9540359e5b4ae97786511c)
Stefan Metzmacher [Wed, 28 Feb 2007 17:23:35 +0000 (17:23 +0000)]
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
fbc1e16331c5957892e4bfc439ea5c4e0387b32e)
Stefan Metzmacher [Wed, 28 Feb 2007 17:19:35 +0000 (17:19 +0000)]
r21591: add new error code
metze
(This used to be commit
04da3db29d57ffeab3ba39551b326b8c176a5bcb)
Stefan Metzmacher [Wed, 28 Feb 2007 17:06:01 +0000 (17:06 +0000)]
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
26b0e03a776fbac4e93fef585dcfec5962f40387)
Stefan Metzmacher [Wed, 28 Feb 2007 17:02:28 +0000 (17:02 +0000)]
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
df7c6c6e0b961eda8daf182df8faed6b29639149)
Stefan Metzmacher [Wed, 28 Feb 2007 15:57:52 +0000 (15:57 +0000)]
r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstrates
policy handles can be shared between connections
metze
(This used to be commit
874cb393666b950b379d07e6af5bcf41f2bf4746)
Jelmer Vernooij [Wed, 28 Feb 2007 14:56:46 +0000 (14:56 +0000)]
r21586: update manifest
(This used to be commit
6ec3c5430db21f312d697fd9491a6867e36d96a6)
Jelmer Vernooij [Wed, 28 Feb 2007 13:25:53 +0000 (13:25 +0000)]
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
3ac68e858df9b53cf5e0a84741916214a53b3121)
Stefan Metzmacher [Wed, 28 Feb 2007 12:02:59 +0000 (12:02 +0000)]
r21583: add missing CN=
metze
(This used to be commit
199416a4d3d7e0f4c416c66cb92e49fc9a83a556)
Jelmer Vernooij [Wed, 28 Feb 2007 10:52:06 +0000 (10:52 +0000)]
r21582: Allow modification of LDFLAGS
(This used to be commit
1726bd33782d1ee77a292bdc0c840959c1c3fb50)
Jelmer Vernooij [Wed, 28 Feb 2007 02:06:17 +0000 (02:06 +0000)]
r21580: Add generic target for test coverage data.
(This used to be commit
a41b72458d04a18da0c0c59cef8a2e24f77e8890)
Jelmer Vernooij [Wed, 28 Feb 2007 02:01:58 +0000 (02:01 +0000)]
r21579: Use utility function to determine function names in ejs code.
(This used to be commit
1736de4c73a82be8357808dc8ec93d3917213449)
Jelmer Vernooij [Wed, 28 Feb 2007 01:51:37 +0000 (01:51 +0000)]
r21578: Use utility function for naming pull/push/print functions.
(This used to be commit
e0f626b79c43eb59ad3c6e3fb6c267504764bfef)
Jelmer Vernooij [Wed, 28 Feb 2007 00:35:21 +0000 (00:35 +0000)]
r21575: Fix handling of is_scalar() for declares.
(This used to be commit
f0bc29df7297f8f91175091e5f4b14f4ae4b0591)
Jelmer Vernooij [Wed, 28 Feb 2007 00:28:14 +0000 (00:28 +0000)]
r21574: Fix handling of DECLARE.
(This used to be commit
6a4033464bf269176f928a5b3b7e63aad1bb1e7a)
Jelmer Vernooij [Wed, 28 Feb 2007 00:19:57 +0000 (00:19 +0000)]
r21573: Remove more code that assumed all types are typedefs.
(This used to be commit
bbbfbfa870c44a6148c3d4d47ff409098e85fcc3)
Jelmer Vernooij [Tue, 27 Feb 2007 23:47:07 +0000 (23:47 +0000)]
r21572: More work towards supporting tagged types.
(This used to be commit
4d28396f0928444406334888f4bc345e74a380df)
Andrew Tridgell [Tue, 27 Feb 2007 23:46:42 +0000 (23:46 +0000)]
r21571: added RPC-HANDLES test to make test
(This used to be commit
73da5e368ba2307051320cd8cb70b3bd8bd04089)
Andrew Tridgell [Tue, 27 Feb 2007 23:35:38 +0000 (23:35 +0000)]
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
c1f41ac045f6023da06c3dbd0a37f39edd8a62f8)
Jelmer Vernooij [Tue, 27 Feb 2007 21:37:31 +0000 (21:37 +0000)]
r21568: More tests.
(This used to be commit
c7bde9c1f537cbcf8e71177e6c3969699c046ecb)
Jelmer Vernooij [Tue, 27 Feb 2007 20:35:56 +0000 (20:35 +0000)]
r21567: Add some more wireshark tests.
(This used to be commit
40e2956058fe4aaebf3f7269bce90339d7faf24f)
Jelmer Vernooij [Tue, 27 Feb 2007 18:00:15 +0000 (18:00 +0000)]
r21564: Move ndrdump to librpc/tools.
(This used to be commit
e3cc94e7d175824abce16c377e5180b4756543cf)
Jelmer Vernooij [Tue, 27 Feb 2007 13:41:56 +0000 (13:41 +0000)]
r21559: More tests.
(This used to be commit
c68573392b0fbc7c6267ac4fe84f7916e3cec779)
Jelmer Vernooij [Tue, 27 Feb 2007 12:46:19 +0000 (12:46 +0000)]
r21555: Some tests for TYPE in wireshark conformance files.
(This used to be commit
2a44c8c9c296462350fcae1960265a6ef0f317d8)
Andrew Bartlett [Tue, 27 Feb 2007 02:59:22 +0000 (02:59 +0000)]
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
c547bce3d305f64d65961051e6462b8c83871f38)
Andrew Bartlett [Tue, 27 Feb 2007 02:19:16 +0000 (02:19 +0000)]
r21553: Remove bogus comment.
(This used to be commit
7c5529729b95f170508b9fe4f04bd33d6f000b1e)
Jelmer Vernooij [Mon, 26 Feb 2007 17:43:01 +0000 (17:43 +0000)]
r21545: Fix pidl test.
(This used to be commit
ed0a7f5091d99a012e366ed3bc877b5228aa62a8)
Jelmer Vernooij [Mon, 26 Feb 2007 16:53:51 +0000 (16:53 +0000)]
r21544: Fix duplicate names. The build system should be warning about this....
(This used to be commit
623026f67aac56c45e298ce5d7af7dbf91ec5df7)
Jelmer Vernooij [Mon, 26 Feb 2007 16:18:23 +0000 (16:18 +0000)]
r21541: Export mgmt, samr and atsvc for use in samba-gtk.
(This used to be commit
7f451cbb8da26cfe27861c402e06b3f34f7ac647)
Stefan Metzmacher [Mon, 26 Feb 2007 12:02:10 +0000 (12:02 +0000)]
r21539: try to get rid of all valgrind warnings...
metze
(This used to be commit
21f0e8e16373662f5662957e80c1f26f489f6279)
Stefan Metzmacher [Mon, 26 Feb 2007 11:49:32 +0000 (11:49 +0000)]
r21538: this looks better...
metze
(This used to be commit
8ddfbbcb93f7c94ab040984d460d6122f0ff6520)
Andrew Tridgell [Mon, 26 Feb 2007 05:37:19 +0000 (05:37 +0000)]
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
d8875c286d2be49c01703d8fd58bbc1842054bd9)
Jelmer Vernooij [Mon, 26 Feb 2007 01:03:19 +0000 (01:03 +0000)]
r21534: Add some more tests for wireshark.
(This used to be commit
b10432096181cf8e7d729e58a5ab54fac5eaa5fe)
Stefan Metzmacher [Sun, 25 Feb 2007 16:56:53 +0000 (16:56 +0000)]
r21533: try to get rid of the valgrind warnings of uninitialized memory
passed to a socket
metze
(This used to be commit
18ce33844738179a5434b91b362606bc4bdfa6b5)
Jelmer Vernooij [Sun, 25 Feb 2007 09:55:57 +0000 (09:55 +0000)]
r21532: Add tests for StripPrefixes utility function.
(This used to be commit
365052555e0e9224bdfda0c2a10f78cbeee5b06c)
Jelmer Vernooij [Sun, 25 Feb 2007 09:35:32 +0000 (09:35 +0000)]
r21531: Use pidl-specific utility functions. Patch from Ronnie Sahlberg
(This used to be commit
e6fdcdf95e984a254cebd197269cf3e911009f02)
Brad Henry [Sat, 24 Feb 2007 18:57:29 +0000 (18:57 +0000)]
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
c71dee34025b152d1af209b06023e30d2539fbc0)
Stefan Metzmacher [Sat, 24 Feb 2007 09:16:04 +0000 (09:16 +0000)]
r21524: don't send unitialized data to the socket
metze
(This used to be commit
50955aa669c11a2ba20e2ce335dcb4bc3a178109)
Stefan Metzmacher [Sat, 24 Feb 2007 09:00:23 +0000 (09:00 +0000)]
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
4723374d14e9c5648708a7fc5460e8ccda193d1e)
Brad Henry [Fri, 23 Feb 2007 18:02:16 +0000 (18:02 +0000)]
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
2982d9e90c26a78fb4a38ecaa65c192f5f764bf3)
Brad Henry [Fri, 23 Feb 2007 18:01:18 +0000 (18:01 +0000)]
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
7496a28b4388535a426ca753bc9000670f6e42e1)
Stefan Metzmacher [Fri, 23 Feb 2007 13:42:00 +0000 (13:42 +0000)]
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
cec74f352822a767770e9e00e87a94d0e37d80c9)
Stefan Metzmacher [Fri, 23 Feb 2007 13:15:56 +0000 (13:15 +0000)]
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
2654f595cae046924be33a3f8f758a20565156ee)
Stefan Metzmacher [Fri, 23 Feb 2007 12:29:21 +0000 (12:29 +0000)]
r21518: fix panic, sorry...
metze
(This used to be commit
3c786eb6bdb3289a237d231e75092a8b3ca56197)
Stefan Metzmacher [Fri, 23 Feb 2007 11:04:05 +0000 (11:04 +0000)]
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
5071af332c2c079fd94c577e58ee6e8ccf157ffa)
Stefan Metzmacher [Fri, 23 Feb 2007 11:00:20 +0000 (11:00 +0000)]
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
2d8c85397d9027485ed6dbdcca87cc1ec84c7b76)
Stefan Metzmacher [Fri, 23 Feb 2007 10:25:28 +0000 (10:25 +0000)]
r21514: move away from a hardcoded "smbtorturedc"
--option="become dc:smbtorture dc=mydcname"
--option="become dc:do not unjoin=yes"
joins as mydcname and creates mydcname_*.ldb files under lp_private_dir()
metze
(This used to be commit
22bc6d541e9de2dc494cda154d6fabbc3c907da8)
Andrew Bartlett [Fri, 23 Feb 2007 10:04:20 +0000 (10:04 +0000)]
r21513: I don't know how long this has been wrong, but fix this up so we can
re-provision (as is required for the TEST_LDAP=yes version of make
test).
Andrew Bartlett
(This used to be commit
ea4c2ea22fb3975d80130f52edecaf6d1790adde)
Stefan Metzmacher [Fri, 23 Feb 2007 07:56:29 +0000 (07:56 +0000)]
r21512: finish DsBind() in the DRSUAPI server:
- fill in our on bind_info struct correctly
- remember the local and remote DsBindInfo28 struct
- remember the remote bind_buid
w2k3 now tries replicate using DsGetNCChanges() from us,
after the NET-API-BECOME-DC test created the domain controller
and replicated all data.
(But we still give a DCERPC fault in DsGetNCChanges()...)
metze
(This used to be commit
33550c063d4e206fce63fdd99dc93a56995db580)
Stefan Metzmacher [Fri, 23 Feb 2007 07:46:51 +0000 (07:46 +0000)]
r21511: this seems to be the nicer fix for the problem with
the windows 2000 LDAP client
metze
(This used to be commit
d40465470fa09827ea529e1f2c80bca9efc152a8)
Stefan Metzmacher [Fri, 23 Feb 2007 07:32:13 +0000 (07:32 +0000)]
r21510: make it possible to push tags with length > 0xFFFFFF
metze
(This used to be commit
8e604107da4a8a1bf6ccab45e85e147daab29519)