garming/samba-autobuild/.git
16 years agor21710: Add client support for the UNIX_INFO2 info level in the QueryFile,
James Peach [Mon, 5 Mar 2007 22:26:38 +0000 (22:26 +0000)]
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.

16 years agor21709: Add a list of tests that should be skipped rather than ad-hoc test skipping...
Jelmer Vernooij [Mon, 5 Mar 2007 22:24:21 +0000 (22:24 +0000)]
r21709: Add a list of tests that should be skipped rather than ad-hoc test skipping in various places.

16 years agor21707: Finally merge my (long-living) perlselftest branch.
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.

16 years agor21701: Fix ejs tests.
Jelmer Vernooij [Mon, 5 Mar 2007 14:18:07 +0000 (14:18 +0000)]
r21701: Fix ejs tests.

16 years agor21700: Run mktestsetup as an external program. This guarantees that it can be used...
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).

16 years agor21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
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

16 years agor21698: Check for talloc failures.
Andrew Bartlett [Mon, 5 Mar 2007 10:28:24 +0000 (10:28 +0000)]
r21698: Check for talloc failures.

Andrew Bartlett

16 years agor21697: Try to cover the 'bad session key' codepaths too.
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

16 years agor21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer for
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

16 years agor21695: Fix on bigendian systems.
Jelmer Vernooij [Mon, 5 Mar 2007 01:58:35 +0000 (01:58 +0000)]
r21695: Fix on bigendian systems.

16 years agor21694: Some more testing updates.
Jelmer Vernooij [Mon, 5 Mar 2007 01:50:33 +0000 (01:50 +0000)]
r21694: Some more testing updates.

16 years agor21693: Fix the RPC-SCANNER test. Share some code with the RPC-MGMT test to
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

16 years agor21692: Test with LDAP, but without the non-block testing. This is not
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

16 years agor21691: Add testsuite for lib/charset
Jelmer Vernooij [Mon, 5 Mar 2007 00:11:46 +0000 (00:11 +0000)]
r21691: Add testsuite for lib/charset

16 years agor21690: Test use of typedef /and/ struct name
Jelmer Vernooij [Mon, 5 Mar 2007 00:03:44 +0000 (00:03 +0000)]
r21690: Test use of typedef /and/ struct name

16 years agor21689: Try to walk a bit more of the param/loadparm.c functions, as well as
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

16 years agor21688: Add simple tests for genrand
Jelmer Vernooij [Sun, 4 Mar 2007 22:36:41 +0000 (22:36 +0000)]
r21688: Add simple tests for genrand

16 years agor21687: Always test LDAP and LDAPS
Andrew Bartlett [Sun, 4 Mar 2007 21:16:57 +0000 (21:16 +0000)]
r21687: Always test LDAP and LDAPS

16 years agor21686: Do enable TLS, as we have solved the key setup problems, and we need
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

16 years agor21685: Add some unit tests for the registry utility functions.
Jelmer Vernooij [Sun, 4 Mar 2007 19:52:16 +0000 (19:52 +0000)]
r21685: Add some unit tests for the registry utility functions.

16 years agor21684: remove summary line for gtk code, as it's now maintained out-of-tree
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

16 years agor21683: Remove the gconf registry backend.
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.

16 years agor21682: Remove accidently committed debug command.
Jelmer Vernooij [Sun, 4 Mar 2007 14:31:18 +0000 (14:31 +0000)]
r21682: Remove accidently committed debug command.

16 years agor21681: Fix bug in the parsing code that parsed "struct foo;" the same as
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!

16 years agor21680: Reenable CLDAP test
Jelmer Vernooij [Sat, 3 Mar 2007 18:42:11 +0000 (18:42 +0000)]
r21680: Reenable CLDAP test

16 years agor21679: Disable upgrade test for now, I can't get it to work.
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.

16 years agor21678: Don't generate Requires.private lines for install .pc files. Static library...
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.

16 years agor21677: Run some of the other ldap tests, too
Jelmer Vernooij [Sat, 3 Mar 2007 15:34:53 +0000 (15:34 +0000)]
r21677: Run some of the other ldap tests, too

16 years agor21676: Run more NET tests
Jelmer Vernooij [Sat, 3 Mar 2007 15:27:45 +0000 (15:27 +0000)]
r21676: Run more NET tests

16 years agor21675: Run some more of the NET tests.
Jelmer Vernooij [Sat, 3 Mar 2007 15:12:33 +0000 (15:12 +0000)]
r21675: Run some more of the NET tests.

16 years agor21674: Fix argument
Jelmer Vernooij [Sat, 3 Mar 2007 15:01:05 +0000 (15:01 +0000)]
r21674: Fix argument

16 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.

16 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

16 years agor21670: More tests
Jelmer Vernooij [Sat, 3 Mar 2007 00:57:41 +0000 (00:57 +0000)]
r21670: More tests

16 years agor21669: Fix --enable-dso build
Jelmer Vernooij [Sat, 3 Mar 2007 00:27:46 +0000 (00:27 +0000)]
r21669: Fix --enable-dso build

16 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.

16 years agor21662: More samr tests
Jelmer Vernooij [Fri, 2 Mar 2007 19:13:58 +0000 (19:13 +0000)]
r21662: More samr tests

16 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

16 years agor21660: Add another test
Jelmer Vernooij [Fri, 2 Mar 2007 18:01:43 +0000 (18:01 +0000)]
r21660: Add another test

16 years agor21659: Rename functions.
James Peach [Fri, 2 Mar 2007 17:47:58 +0000 (17:47 +0000)]
r21659: Rename functions.

16 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

16 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.

16 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.

16 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.

16 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

16 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

16 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.

16 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)

16 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

16 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

metze

16 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

metze

16 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

metze

16 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

metze

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

metze

16 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

metze

16 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!

metze

16 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

metze

16 years agor21586: update manifest
Jelmer Vernooij [Wed, 28 Feb 2007 14:56:46 +0000 (14:56 +0000)]
r21586: update manifest

16 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.

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

metze

16 years agor21582: Allow modification of LDFLAGS
Jelmer Vernooij [Wed, 28 Feb 2007 10:52:06 +0000 (10:52 +0000)]
r21582: Allow modification of LDFLAGS

16 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.

16 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.

16 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.

16 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.

16 years agor21574: Fix handling of DECLARE.
Jelmer Vernooij [Wed, 28 Feb 2007 00:28:14 +0000 (00:28 +0000)]
r21574: Fix handling of DECLARE.

16 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.

16 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.

16 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

16 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
seen?

16 years agor21568: More tests.
Jelmer Vernooij [Tue, 27 Feb 2007 21:37:31 +0000 (21:37 +0000)]
r21568: More tests.

16 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.

16 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.

16 years agor21559: More tests.
Jelmer Vernooij [Tue, 27 Feb 2007 13:41:56 +0000 (13:41 +0000)]
r21559: More tests.

16 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.

16 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
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

16 years agor21553: Remove bogus comment.
Andrew Bartlett [Tue, 27 Feb 2007 02:19:16 +0000 (02:19 +0000)]
r21553: Remove bogus comment.

16 years agor21545: Fix pidl test.
Jelmer Vernooij [Mon, 26 Feb 2007 17:43:01 +0000 (17:43 +0000)]
r21545: Fix pidl test.

16 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....

16 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.

16 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...

metze

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

metze

16 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

16 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.

16 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

metze

16 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.

16 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

16 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.

16 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

metze

16 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

metze

16 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.

16 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.

16 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
consistant...

metze

16 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...

metze

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

metze

16 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

metze

16 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?

metze

16 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()

metze

16 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
test).

Andrew Bartlett

16 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()...)

metze