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.

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

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

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

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.

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

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

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

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

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

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.

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.

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.

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

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

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.

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)

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

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


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


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


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


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


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


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!


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


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

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.

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


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

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.

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.

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.

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.

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.

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.

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.

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

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

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

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.

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.

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

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.

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

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

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

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

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.

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


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


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

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.

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


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.

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

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.

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


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


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

Forgot this one in the last commit.

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 on the command line as it is now properly passed through the environment.

Windows tests, including the DC tests found in should work properly with 'make wintest' and a configured VMware environment.
These tests are executed on build-farm host bnhtest.

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


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


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


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


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?


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


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

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


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


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


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


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


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


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


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


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.

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

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

13 years agor21495: Pass the VM .vmx file path to 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 on the command line.

13 years agor21494: Fix 'make wintest' to support command-line changes to '' and...
Brad Henry [Wed, 21 Feb 2007 22:50:55 +0000 (22:50 +0000)]
r21494: Fix 'make wintest' to support command-line changes to '' 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.

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.

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.

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

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.

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.

13 years agor21488: Ignore autogenerated file.
Jelmer Vernooij [Wed, 21 Feb 2007 11:45:40 +0000 (11:45 +0000)]
r21488: Ignore autogenerated file.

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.

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

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

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.

13 years agor21477: Remove unnecessary properties.
Jelmer Vernooij [Tue, 20 Feb 2007 23:19:46 +0000 (23:19 +0000)]
r21477: Remove unnecessary properties.

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.

13 years agor21475: Updated to read the name of the environment variable containing...
Brad Henry [Tue, 20 Feb 2007 22:28:43 +0000 (22:28 +0000)]
r21475: Updated to read the name of the environment variable containing the VM path from the command line. 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/ script. is a new script intended to be called by 'make wintest_dc' (patch to source/ 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 by passing a group of tests at the command line.
For example: source/script/tests/win/ RPC-DRSUAPI

Sorry for the long-winded commit message!

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

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:

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


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


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


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



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