13 years agor21673: Fix Samba 3 data read tests. I can't figure out why the upgrade one is broken...
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)

13 years agor21671: Add initial simple tests for socket wrapper
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)

13 years agor21670: More tests
Jelmer Vernooij [Sat, 3 Mar 2007 00:57:41 +0000 (00:57 +0000)]
r21670: More tests
(This used to be commit eeb3b2ff68a414b2d7c828124c148015f6fa2fe9)

13 years agor21669: Fix --enable-dso build
Jelmer Vernooij [Sat, 3 Mar 2007 00:27:46 +0000 (00:27 +0000)]
r21669: Fix --enable-dso build
(This used to be commit 7cf9d07c88b0c81777bb9363d445ac657982a366)

13 years agor21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. Add
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)

13 years agor21662: More samr tests
Jelmer Vernooij [Fri, 2 Mar 2007 19:13:58 +0000 (19:13 +0000)]
r21662: More samr tests
(This used to be commit 2eae55819ec51dc53aa8bdea7b777cb2e8444cea)

13 years agor21661: Put direction in test name
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)

13 years agor21660: Add another test
Jelmer Vernooij [Fri, 2 Mar 2007 18:01:43 +0000 (18:01 +0000)]
r21660: Add another test
(This used to be commit 0b1e793ed56e3c4c592d8baaf3139e42b01b942b)

13 years agor21659: Rename functions.
James Peach [Fri, 2 Mar 2007 17:47:58 +0000 (17:47 +0000)]
r21659: Rename functions.
(This used to be commit 6e645577a60bc79431a962b6522e8592b7c50e98)

13 years agor21658: Add some tests for SAMR NDR
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)

13 years agor21656: Move tests a bit closer to the things they test, should make syncing with...
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)

13 years agor21654: Add simple test for print functions.
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)

13 years agor21653: Add two more tdr tests.
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)

13 years agor21650: Update ndrdump to work in samba3
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)

13 years agor21649: Update self test scripts to start Fedora DS. This requires current
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)

13 years agor21648: Start a UNIX extensions test set. Add a test for the SMBWhoami query.
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)

13 years agor21620: commit updated versions (with correct paths)
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)

13 years agor21618: an attempt to fix the problem with lcov and yacc generated C code
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)

13 years agor21595: add a constant and some comments
Stefan Metzmacher [Wed, 28 Feb 2007 17:27:35 +0000 (17:27 +0000)]
r21595: add a constant and some comments

(This used to be commit b8af925da9c515f3803aa813ef5e4cded892a525)

13 years agor21594: give the same error in all resolve backends
Stefan Metzmacher [Wed, 28 Feb 2007 17:26:25 +0000 (17:26 +0000)]
r21594: give the same error in all resolve backends

(This used to be commit 5534ba591deb362e30e40afff923af4b890ab7a9)

13 years agor21593: give a more useful error, when we can't resolve a long name
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

(This used to be commit 49591d699653e48f2e9540359e5b4ae97786511c)

13 years agor21592: compress_name() returns NULL for names longer than 15 chars
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

(This used to be commit fbc1e16331c5957892e4bfc439ea5c4e0387b32e)

13 years agor21591: add new error code
Stefan Metzmacher [Wed, 28 Feb 2007 17:19:35 +0000 (17:19 +0000)]
r21591: add new error code

(This used to be commit 04da3db29d57ffeab3ba39551b326b8c176a5bcb)

13 years agor21590: add RPC-HANDLES-MIXED-SHARED test, which shows that
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

(This used to be commit 26b0e03a776fbac4e93fef585dcfec5962f40387)

13 years agor21589: give an error when the assoc_group_id isn't 0
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!

(This used to be commit df7c6c6e0b961eda8daf182df8faed6b29639149)

13 years agor21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstrates
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

(This used to be commit 874cb393666b950b379d07e6af5bcf41f2bf4746)

13 years agor21586: update manifest
Jelmer Vernooij [Wed, 28 Feb 2007 14:56:46 +0000 (14:56 +0000)]
r21586: update manifest
(This used to be commit 6ec3c5430db21f312d697fd9491a6867e36d96a6)

13 years agor21584: Support for tagged types has landed!
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)

13 years agor21583: add missing CN=
Stefan Metzmacher [Wed, 28 Feb 2007 12:02:59 +0000 (12:02 +0000)]
r21583: add missing CN=

(This used to be commit 199416a4d3d7e0f4c416c66cb92e49fc9a83a556)

13 years agor21582: Allow modification of LDFLAGS
Jelmer Vernooij [Wed, 28 Feb 2007 10:52:06 +0000 (10:52 +0000)]
r21582: Allow modification of LDFLAGS
(This used to be commit 1726bd33782d1ee77a292bdc0c840959c1c3fb50)

13 years agor21580: Add generic target for test coverage data.
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)

13 years agor21579: Use utility function to determine function names in ejs code.
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)

13 years agor21578: Use utility function for naming pull/push/print functions.
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)

13 years agor21575: Fix handling of is_scalar() for declares.
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)

13 years agor21574: Fix handling of DECLARE.
Jelmer Vernooij [Wed, 28 Feb 2007 00:28:14 +0000 (00:28 +0000)]
r21574: Fix handling of DECLARE.
(This used to be commit 6a4033464bf269176f928a5b3b7e63aad1bb1e7a)

13 years agor21573: Remove more code that assumed all types are typedefs.
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)

13 years agor21572: More work towards supporting tagged types.
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)

13 years agor21571: added RPC-HANDLES test to make test
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)

13 years agor21570: added a RPC-HANDLES test that tries to show that rpc policy handles
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
(This used to be commit c1f41ac045f6023da06c3dbd0a37f39edd8a62f8)

13 years agor21568: More tests.
Jelmer Vernooij [Tue, 27 Feb 2007 21:37:31 +0000 (21:37 +0000)]
r21568: More tests.
(This used to be commit c7bde9c1f537cbcf8e71177e6c3969699c046ecb)

13 years agor21567: Add some more wireshark tests.
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)

13 years agor21564: Move ndrdump to librpc/tools.
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)

13 years agor21559: More tests.
Jelmer Vernooij [Tue, 27 Feb 2007 13:41:56 +0000 (13:41 +0000)]
r21559: More tests.
(This used to be commit c68573392b0fbc7c6267ac4fe84f7916e3cec779)

13 years agor21555: Some tests for TYPE in wireshark conformance files.
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)

13 years agor21554: Use a snippet from tridge's junkcode to cause us to wait for smbd to
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

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)

13 years agor21553: Remove bogus comment.
Andrew Bartlett [Tue, 27 Feb 2007 02:19:16 +0000 (02:19 +0000)]
r21553: Remove bogus comment.
(This used to be commit 7c5529729b95f170508b9fe4f04bd33d6f000b1e)

13 years agor21545: Fix pidl test.
Jelmer Vernooij [Mon, 26 Feb 2007 17:43:01 +0000 (17:43 +0000)]
r21545: Fix pidl test.
(This used to be commit ed0a7f5091d99a012e366ed3bc877b5228aa62a8)

13 years agor21544: Fix duplicate names. The build system should be warning about this....
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)

13 years agor21541: Export mgmt, samr and atsvc for use in samba-gtk.
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)

13 years agor21539: try to get rid of all valgrind warnings...
Stefan Metzmacher [Mon, 26 Feb 2007 12:02:10 +0000 (12:02 +0000)]
r21539: try to get rid of all valgrind warnings...

(This used to be commit 21f0e8e16373662f5662957e80c1f26f489f6279)

13 years agor21538: this looks better...
Stefan Metzmacher [Mon, 26 Feb 2007 11:49:32 +0000 (11:49 +0000)]
r21538: this looks better...

(This used to be commit 8ddfbbcb93f7c94ab040984d460d6122f0ff6520)

13 years agor21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
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)

13 years agor21534: Add some more tests for wireshark.
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)

13 years agor21533: try to get rid of the valgrind warnings of uninitialized memory
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

(This used to be commit 18ce33844738179a5434b91b362606bc4bdfa6b5)

13 years agor21532: Add tests for StripPrefixes utility function.
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)

13 years agor21531: Use pidl-specific utility functions. Patch from Ronnie Sahlberg
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)

13 years agor21528: This file gets called by testit(), so it shouldn't call testit().
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)

13 years agor21524: don't send unitialized data to the socket
Stefan Metzmacher [Sat, 24 Feb 2007 09:16:04 +0000 (09:16 +0000)]
r21524: don't send unitialized data to the socket

(This used to be commit 50955aa669c11a2ba20e2ce335dcb4bc3a178109)

13 years agor21523: fix a valgrind warning, we write the struct content to the file and should...
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

(This used to be commit 4723374d14e9c5648708a7fc5460e8ccda193d1e)

13 years agor21522: Stop passing the VM config file path to wintest_2k3_dc.sh on the command...
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)

13 years agor21521: Add missing quotes around shell variables which could have spaces.
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)

13 years agor21520: fix the altercontext test... sorry
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

(This used to be commit cec74f352822a767770e9e00e87a94d0e37d80c9)

13 years agor21519: when we want to send non initialized data, then
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...

(This used to be commit 2654f595cae046924be33a3f8f758a20565156ee)

13 years agor21518: fix panic, sorry...
Stefan Metzmacher [Fri, 23 Feb 2007 12:29:21 +0000 (12:29 +0000)]
r21518: fix panic, sorry...

(This used to be commit 3c786eb6bdb3289a237d231e75092a8b3ca56197)

13 years agor21516: - use the same assoc_group_id, for all 3 drsuapi connection
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

(This used to be commit 5071af332c2c079fd94c577e58ee6e8ccf157ffa)

13 years agor21515: add some more PFC_FLAGS from the DCERPC spec, and fix some names
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?

(This used to be commit 2d8c85397d9027485ed6dbdcca87cc1ec84c7b76)

13 years agor21514: move away from a hardcoded "smbtorturedc"
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()

(This used to be commit 22bc6d541e9de2dc494cda154d6fabbc3c907da8)

13 years agor21513: I don't know how long this has been wrong, but fix this up so we can
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

Andrew Bartlett
(This used to be commit ea4c2ea22fb3975d80130f52edecaf6d1790adde)

13 years agor21512: finish DsBind() in the DRSUAPI server:
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()...)

(This used to be commit 33550c063d4e206fce63fdd99dc93a56995db580)

13 years agor21511: this seems to be the nicer fix for the problem with
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

(This used to be commit d40465470fa09827ea529e1f2c80bca9efc152a8)

13 years agor21510: make it possible to push tags with length > 0xFFFFFF
Stefan Metzmacher [Fri, 23 Feb 2007 07:32:13 +0000 (07:32 +0000)]
r21510: make it possible to push tags with length > 0xFFFFFF

(This used to be commit 8e604107da4a8a1bf6ccab45e85e147daab29519)

13 years agor21504: for simo...
Stefan Metzmacher [Thu, 22 Feb 2007 16:26:18 +0000 (16:26 +0000)]
r21504: for simo...

(This used to be commit f773b1dc6fc39e59a2d71d7d017a63512a95cfa8)

13 years agor21503: add usefull function to get the site dn for the local server
Stefan Metzmacher [Thu, 22 Feb 2007 15:53:06 +0000 (15:53 +0000)]
r21503: add usefull function to get the site dn for the local server

(This used to be commit 08b8e9acff6779ecc2e568ae0a875013d93838b7)

13 years agor21502: add a very useful option "become dc:donnot leave=yes"
Stefan Metzmacher [Thu, 22 Feb 2007 15:25:55 +0000 (15:25 +0000)]
r21502: add a very useful option "become dc:donnot leave=yes"

with this you can join a domain as dc for testing:-)

You still need to setup some dns entries...

and add the ldap/.... servicePrincipalName's

abartlet: it's wrong to include ldap/ in the list of host=, we should change this...

(This used to be commit 12f610d747fe827ed402984fa63680b576ed7b03)

13 years agor21501: ugly but the windows 2000 mmc deturns decoding error without this
Stefan Metzmacher [Thu, 22 Feb 2007 14:29:04 +0000 (14:29 +0000)]
r21501: ugly but the windows 2000 mmc deturns decoding error without this

(This used to be commit f17da75754f8cc79b60e04b54a4bc99191e71ff3)

13 years agor21499: fill in the correct forest dns name
Stefan Metzmacher [Thu, 22 Feb 2007 13:15:49 +0000 (13:15 +0000)]
r21499: fill in the correct forest dns name

(This used to be commit c736543b15571a7c0080ba09e51b9bcf76ecda52)

13 years agor21498: Putting the second parameter in quotes so that we accept spaces in the config...
Brad Henry [Thu, 22 Feb 2007 02:11:28 +0000 (02:11 +0000)]
r21498: Putting the second parameter in quotes so that we accept spaces in the config file path.
(This used to be commit 7facfe9247e98421e998092482f52db05228ace6)

13 years agor21497: Pass more of the RPC-CRACKNAMES test by using the new search_options control.
Andrew Bartlett [Thu, 22 Feb 2007 02:08:40 +0000 (02:08 +0000)]
r21497: Pass more of the RPC-CRACKNAMES test by using the new search_options control.

Andrew Bartlett
(This used to be commit 47c8a059c4d90b7befde390d2d050f0d1934ecc1)

13 years agor21496: A number of ldb control and LDAP changes, surrounding the
Andrew Bartlett [Thu, 22 Feb 2007 01:54:40 +0000 (01:54 +0000)]
r21496: A number of ldb control and LDAP changes, surrounding the
'phantom_root' flag in the search_options control

- Add in support for LDB controls to the js layer
- Test the behaviour
- Implement support for the 'phantom_root' flag in the partitions module
- Make the LDAP server set the 'phantom_root' flag in the search_options control
  - This replaces the global_catalog flag passed down as an opaque pointer
- Rework the string-format control parsing function into
  ldb_parse_control_strings(), returning errors by ldb_errorstring()
  method, rather than with printf to stderr
- Rework some of the ldb_control handling logic

Andrew Bartlett
(This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)

13 years agor21495: Pass the VM .vmx file path to wintest_2k3_dc.sh on the command line.
Brad Henry [Thu, 22 Feb 2007 00:11:20 +0000 (00:11 +0000)]
r21495: Pass the VM .vmx file path to wintest_2k3_dc.sh on the command line.
(This used to be commit 06bf94781e688c57f625161722e0a25af5a8d2e3)

13 years agor21494: Fix 'make wintest' to support command-line changes to 'vm-get-ip.pl' and...
Brad Henry [Wed, 21 Feb 2007 22:50:55 +0000 (22:50 +0000)]
r21494: Fix 'make wintest' to support command-line changes to 'vm-get-ip.pl' and the revertsnapshot() shell function.
Restructure existing tests to work with the recent build farm changes.
Added windows DC testing to 'make wintest'.
Some improvements and generalization to the way errors are handled.
(This used to be commit de9687404e802d7e7629c9d03f496d3c5bd30397)

13 years agor21493: Patch from Ronnie Sahlberg. From his email:
Jelmer Vernooij [Wed, 21 Feb 2007 20:59:01 +0000 (20:59 +0000)]
r21493: Patch from Ronnie Sahlberg. From his email:

This patch changes the function name and signature that pidl generate
a call for when dissecting a policy handle to a new, more
PIDL-friendly function.

It also stores the procedure name in a new pinfo-> field so that
helpers that want to know the procedure name can finbd out easily.

The new PIDL helper function for policy handles use this new field and will show
       opened in frame X
   closed in frame Y
for the policy handle.
(This used to be commit 0c4fb484f0e515eb4055c58cd73ca798a8c46d69)

13 years agor21492: Finish work on nested type support in EJS.
Jelmer Vernooij [Wed, 21 Feb 2007 14:35:25 +0000 (14:35 +0000)]
r21492: Finish work on nested type support in EJS.
(This used to be commit e88055b76a3d81fcc40773d880f76a1c3f53fbf0)

13 years agor21491: Verify that the DNS domain name is filled in on GUID searches in the
Andrew Bartlett [Wed, 21 Feb 2007 13:03:24 +0000 (13:03 +0000)]
r21491: Verify that the DNS domain name is filled in on GUID searches in the

Andrew Bartlett
(This used to be commit 7773f23e89340c459a0028a4c36b869d95ed8eb1)

13 years agor21490: Add some tests for the EJS code
Jelmer Vernooij [Wed, 21 Feb 2007 12:35:21 +0000 (12:35 +0000)]
r21490: Add some tests for the EJS code
More work on supporting nested types in EJS.
(This used to be commit cb7faeab88952b59add1c814e1881ee9bb88b7ec)

13 years agor21489: Remove accidently committed test idl.
Jelmer Vernooij [Wed, 21 Feb 2007 11:51:51 +0000 (11:51 +0000)]
r21489: Remove accidently committed test idl.
(This used to be commit 268915961d0b2766eb9a4e106fdf5cfdf68de07e)

13 years agor21488: Ignore autogenerated file.
Jelmer Vernooij [Wed, 21 Feb 2007 11:45:40 +0000 (11:45 +0000)]
r21488: Ignore autogenerated file.
(This used to be commit 12d45cede3eec1db0b5bf9a24498944ff1412835)

13 years agor21487: Fix warning when using anonymous types, initial work on nested type support...
Jelmer Vernooij [Wed, 21 Feb 2007 11:32:48 +0000 (11:32 +0000)]
r21487: Fix warning when using anonymous types, initial work on nested type support in ejs.
(This used to be commit a396c5de12cd958fe0457fa5372e539132ad7ed9)

13 years agor21486: Remove spurious semicolons.
Jelmer Vernooij [Wed, 21 Feb 2007 10:55:03 +0000 (10:55 +0000)]
r21486: Remove spurious semicolons.
(This used to be commit d2307f3f7e364a2d17f48301a921a532ae313986)

13 years agor21485: Remove obsolete smb_interfaces code (discussed with tpot).
Jelmer Vernooij [Wed, 21 Feb 2007 10:37:25 +0000 (10:37 +0000)]
r21485: Remove obsolete smb_interfaces code (discussed with tpot).
(This used to be commit 92acdb380a02cae59b563e70ae0c18ab537cdb4c)

13 years agor21484: Fix Needed* for nested datastructures.
Jelmer Vernooij [Wed, 21 Feb 2007 10:31:14 +0000 (10:31 +0000)]
r21484: Fix Needed* for nested datastructures.
(This used to be commit ec3c9ebfd0de287411ce399967409f902653d5c6)

13 years agor21477: Remove unnecessary properties.
Jelmer Vernooij [Tue, 20 Feb 2007 23:19:46 +0000 (23:19 +0000)]
r21477: Remove unnecessary properties.
(This used to be commit 17d1da19474de3c501b532aec74b1fb93ed3ae3f)

13 years agor21476: Add another test for EnumValue.
Jelmer Vernooij [Tue, 20 Feb 2007 23:03:15 +0000 (23:03 +0000)]
r21476: Add another test for EnumValue.
(This used to be commit 8370b19ebbd4a7d2296fc50b267c8720b5a0a50b)

13 years agor21475: Updated vm_get_ip.pl to read the name of the environment variable containing...
Brad Henry [Tue, 20 Feb 2007 22:28:43 +0000 (22:28 +0000)]
r21475: Updated vm_get_ip.pl to read the name of the environment variable containing the VM path from the command line.

wintest_2k3_dc.sh is a new script which will run a group of tests against a Windows 2003 DC.
The group of tests to run should be passed in on the command line.
These tests were taken from the source/script/tests/test_win2k3.sh script.

tests_win2k3_dc.sh is a new script intended to be called by 'make wintest_dc' (patch to source/main.mk forthcoming).
This is intended to provide the basis for Windows 2003 DC testing in the build farm.

In order to use these tests, you should have a DC setup as a VM in VMware server.

This process is not automated yet, but can be done by following a few steps:

1. Prepare a Windows 2003 VM in VMware Server by downloading and extracting:
and following the instructions in the README file.

2. Copying the following file onto the filesystem of the VM configured in step 1:
and use it to promote the VM.
For example: "dcpromo /answer:<path to answerfile>"

3. On the system you are testing from, set the environment variable WINTESTCONF, and SRCDIR.
WINTESTCONF should point to the path of a test_win.conf file modified for your environment.
There's a default copy in source/script/tests/win/test_win.conf.
SRCDIR should point to the base of your Samba 4 source tree.

At that point, you should be able to run wintest_2k3_dc.sh by passing a group of tests at the command line.
For example: source/script/tests/win/wintest_2k3_dc.sh RPC-DRSUAPI

Sorry for the long-winded commit message!
(This used to be commit a0d1c690de2e58eddf5517eb974e09c2bba23605)

13 years agor21473: Added new parameters to test_win.conf that apply only to the DC tests.
Brad Henry [Tue, 20 Feb 2007 19:53:18 +0000 (19:53 +0000)]
r21473: Added new parameters to test_win.conf that apply only to the DC tests.

Made the restore_snapshot() routine in wintest_functions.sh more robust.
This change would have broken the existing windows tests, if they weren't already broken.

Will fix those once the windows DC tests are committed and working in the build farm.
(This used to be commit 76c6c5b8de58618ac013f5b26a6aafc98e15f57c)

13 years agor21470: generate Primary:WDigest blob with precalculated digest-md5 hashes:
Stefan Metzmacher [Tue, 20 Feb 2007 16:22:50 +0000 (16:22 +0000)]
r21470: generate Primary:WDigest blob with precalculated digest-md5 hashes:

see http://technet2.microsoft.com/WindowsServer/en/library/717b450c-f4a0-4cc9-86f4-cc0633aae5f91033.mspx?mfr=true
for how the hashes are supposed to be (but w2k3 doesn't to some correctly...)

this is a verify nice tool to test the hash genaration, but
you need to add support for "" realm strings...

(This used to be commit 26d51741b6aa54c47ee039ac14390f1f0ee51e30)

13 years agor21466: run the LDAP-UPTODATEVECTOR test in make test
Stefan Metzmacher [Tue, 20 Feb 2007 14:57:25 +0000 (14:57 +0000)]
r21466: run the LDAP-UPTODATEVECTOR test in make test

(This used to be commit 74ded55787d6dee55e87bd55a4f152fa2e8dbeab)

13 years agor21465: the LDAP-UPTODATEVECTOR test shows that the replUpToDateVector
Stefan Metzmacher [Tue, 20 Feb 2007 14:56:45 +0000 (14:56 +0000)]
r21465: the LDAP-UPTODATEVECTOR test shows that the replUpToDateVector
doesn't contain an entry for the local invocation_id

(This used to be commit 4bd0ddeb80b0a6695a457434594c0240c8880d9f)

13 years agor21464: add parsing code for the Primary:WDigest blob
Stefan Metzmacher [Tue, 20 Feb 2007 14:42:53 +0000 (14:42 +0000)]
r21464: add parsing code for the Primary:WDigest blob

the hashes are

MD5("user:realm:password") which a lot of user and realm combinations


(This used to be commit f764941af6a13b59ea604b4b5c275da802b3e061)

13 years agor21463: add a LDAP-UPTODATEVECTOR test, it shows that the "replUpToDateVector"
Stefan Metzmacher [Tue, 20 Feb 2007 14:39:13 +0000 (14:39 +0000)]
r21463: add a LDAP-UPTODATEVECTOR test, it shows that the "replUpToDateVector"
isn't updated by originating changes, and that there's no entry for the local
dsa invocation_id

(This used to be commit a9b757dddc496b705d04ee73f52b7f4f16e972e9)