Jelmer Vernooij [Thu, 17 Apr 2008 11:05:25 +0000 (13:05 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Thu, 17 Apr 2008 11:04:04 +0000 (13:04 +0200)]
Fix the build.
Jelmer Vernooij [Thu, 17 Apr 2008 10:23:44 +0000 (12:23 +0200)]
Specify event_context to ldb_wrap_connect explicitly.
Andrew Bartlett [Thu, 17 Apr 2008 10:03:49 +0000 (12:03 +0200)]
Fix the expectations on the unixinfo test.
Andrew Bartlett
Andrew Bartlett [Thu, 17 Apr 2008 09:25:19 +0000 (11:25 +0200)]
Run more tests that were previously skipped.
Andrew Bartlett
Andrew Bartlett [Thu, 17 Apr 2008 09:22:23 +0000 (11:22 +0200)]
Skip strcmp() on 2 NULL pointers.
Andrew Bartlett
Andrew Bartlett [Thu, 17 Apr 2008 08:40:16 +0000 (10:40 +0200)]
Use the struct based winbind tests, but mark as known fail.
Andrew Bartlett
Andrew Tridgell [Thu, 17 Apr 2008 07:37:29 +0000 (09:37 +0200)]
make smb2 read and write size configurable
Andrew Tridgell [Thu, 17 Apr 2008 07:36:09 +0000 (09:36 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Conflicts:
source/ntvfs/ntvfs_generic.c
Stefan Metzmacher [Thu, 17 Apr 2008 01:54:26 +0000 (03:54 +0200)]
ntvfs_generic: map SMB2 oplock levels to the generic ones
metze
Stefan Metzmacher [Thu, 17 Apr 2008 01:52:45 +0000 (03:52 +0200)]
SMB2-PERSISTENT-HANDLES1: verify some more fields
metze
Stefan Metzmacher [Wed, 16 Apr 2008 08:11:44 +0000 (10:11 +0200)]
torture/smb2: add SMB2-PERSISTENT-HANDLES1 test
This demonstrates that the file seek position
is still available on reconnected persistent handles.
metze
Stefan Metzmacher [Thu, 17 Apr 2008 00:38:13 +0000 (02:38 +0200)]
selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
metze
Stefan Metzmacher [Wed, 16 Apr 2008 13:16:56 +0000 (15:16 +0200)]
torture/smb2: add torture_suite_add_2smb2_test() helper function
metze
Stefan Metzmacher [Wed, 16 Apr 2008 13:15:57 +0000 (15:15 +0200)]
torture/smb2: fix whitespaces
metze
Stefan Metzmacher [Wed, 16 Apr 2008 17:26:52 +0000 (19:26 +0200)]
smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
metze
Jelmer Vernooij [Thu, 17 Apr 2008 00:06:07 +0000 (02:06 +0200)]
Avoid recursive make for code coverage.
Stefan Metzmacher [Wed, 16 Apr 2008 08:03:08 +0000 (10:03 +0200)]
libcli/smb2: make it possible to pass additional extra blobs in smb2_create()
This also fixes the alignment from 8 to 4 byte bounderies.
metze
Stefan Metzmacher [Wed, 16 Apr 2008 08:05:53 +0000 (10:05 +0200)]
libcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3
With this smbtorture works against longhorn beta3 again,
hopefully it still works with new versions...
metze
Jelmer Vernooij [Wed, 16 Apr 2008 23:37:42 +0000 (01:37 +0200)]
Add convenience function for getting at event context from ejs code.
Jelmer Vernooij [Wed, 16 Apr 2008 23:37:02 +0000 (01:37 +0200)]
Avoid using event_context_find where possible.
Jelmer Vernooij [Wed, 16 Apr 2008 23:30:21 +0000 (01:30 +0200)]
Fix the build.
Jelmer Vernooij [Wed, 16 Apr 2008 23:22:39 +0000 (01:22 +0200)]
Require explicit event context rather than looking if it is not specified.
Jelmer Vernooij [Wed, 16 Apr 2008 23:19:53 +0000 (01:19 +0200)]
Explicitly require event context to be specified.
Jelmer Vernooij [Wed, 16 Apr 2008 23:19:20 +0000 (01:19 +0200)]
Use provided event context rather than looking for it.
Jelmer Vernooij [Wed, 16 Apr 2008 23:09:33 +0000 (01:09 +0200)]
Require passing in an event context to endpoint mapper utility function.
Jelmer Vernooij [Wed, 16 Apr 2008 23:03:18 +0000 (01:03 +0200)]
Remove event context tracking from the credentials struct.
Jelmer Vernooij [Wed, 16 Apr 2008 21:06:27 +0000 (23:06 +0200)]
Avoid event_find_context when a event context is already available.
Jelmer Vernooij [Wed, 16 Apr 2008 20:52:07 +0000 (22:52 +0200)]
Use readily available event context.
Jelmer Vernooij [Wed, 16 Apr 2008 20:30:15 +0000 (22:30 +0200)]
Avoid event_find_context() when the event context is already available
in the net utility.
Jelmer Vernooij [Wed, 16 Apr 2008 16:17:10 +0000 (18:17 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Wed, 16 Apr 2008 16:11:37 +0000 (18:11 +0200)]
Fix todo element on actually implemented function.
Andrew Bartlett [Wed, 16 Apr 2008 15:35:32 +0000 (17:35 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 16 Apr 2008 15:33:58 +0000 (17:33 +0200)]
Adjust the expectations of the struct based winbind test.
These expectations (such as what happens when we have no trusted
domains) were incorrect, compared with Samba3 (which is the reference
for this protocol).
Andrew Bartlett
Jelmer Vernooij [Wed, 16 Apr 2008 15:21:48 +0000 (17:21 +0200)]
Provide stubs when the [todo] attribute is set.
Andrew Tridgell [Wed, 16 Apr 2008 15:11:21 +0000 (17:11 +0200)]
fixed popt handling on 64bit boxes in gentest
Andrew Bartlett [Wed, 16 Apr 2008 14:12:58 +0000 (16:12 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 16 Apr 2008 14:11:17 +0000 (16:11 +0200)]
Fix struct_based winbind test for 'check machine account'.
The problem here was that we did not fill in the error strings in the
success case, and the testsuite checked against the incorrect
'freindly' error string.
Andrew Bartlett
Andrew Bartlett [Wed, 16 Apr 2008 14:10:16 +0000 (16:10 +0200)]
Fix wbinfo --trusted-domains.
The problems here were that we did not bind to the LSA pipe, and we
did not consider it possible to have 0 trusted domains.
Andrew Bartlett
Jelmer Vernooij [Wed, 16 Apr 2008 12:52:29 +0000 (14:52 +0200)]
Use the subunit shell library.
Jelmer Vernooij [Wed, 16 Apr 2008 12:41:42 +0000 (14:41 +0200)]
Remove policy library - it's now in a separate git repository.
Jelmer Vernooij [Wed, 16 Apr 2008 10:34:53 +0000 (12:34 +0200)]
Use library for subunit test functions.
Jelmer Vernooij [Wed, 16 Apr 2008 09:43:37 +0000 (11:43 +0200)]
make sure header can be included more than once.
Andrew Bartlett [Wed, 16 Apr 2008 07:02:12 +0000 (09:02 +0200)]
Now that we don't create a new event context, don't free it.
This previously would free the torture provided global event context.
Andrew Bartlett
Jelmer Vernooij [Tue, 15 Apr 2008 23:32:54 +0000 (01:32 +0200)]
Remove unused arguments from reg_open_local().
Jelmer Vernooij [Tue, 15 Apr 2008 23:10:20 +0000 (01:10 +0200)]
Fix -r test, knownfailure return code.
Jelmer Vernooij [Tue, 15 Apr 2008 22:17:03 +0000 (00:17 +0200)]
Mention the actual exit code when a suite failed.
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:36 +0000 (00:05 +0200)]
Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:12 +0000 (00:05 +0200)]
Fix executable bit on blackbox ndrdump tests.
Jelmer Vernooij [Tue, 15 Apr 2008 22:04:11 +0000 (00:04 +0200)]
Provide the right error count to formatters.
Jelmer Vernooij [Tue, 15 Apr 2008 22:03:45 +0000 (00:03 +0200)]
Properly warn about exit codes that indicate success while tests claim
failure.
Jelmer Vernooij [Tue, 15 Apr 2008 22:03:00 +0000 (00:03 +0200)]
Support knownfail Subunit command.
Jelmer Vernooij [Tue, 15 Apr 2008 21:52:06 +0000 (23:52 +0200)]
Deal with commands not even starting.
Kai Blin [Tue, 15 Apr 2008 15:04:36 +0000 (17:04 +0200)]
blackbox: Add many more tests for wbinfo
Jelmer Vernooij [Tue, 15 Apr 2008 21:21:43 +0000 (23:21 +0200)]
Add some documentation about the expected testsuite output.
Jelmer Vernooij [Tue, 15 Apr 2008 20:42:52 +0000 (22:42 +0200)]
Add some documentation on test behaviour in selftest.
Jelmer Vernooij [Tue, 15 Apr 2008 16:03:09 +0000 (18:03 +0200)]
Split binding structure handling out into a separate file.
For easier synchronisation with Samba 3.
Andrew Bartlett [Tue, 15 Apr 2008 15:10:47 +0000 (17:10 +0200)]
Re-add 'db' subdirectory for LDAP backend provision
Andrew Bartlett
Andrew Bartlett [Tue, 15 Apr 2008 14:56:15 +0000 (16:56 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Tue, 15 Apr 2008 14:31:08 +0000 (16:31 +0200)]
Fix some of the winbind tests.
Some of the test expectations were incorrect.
Andrew Bartlett
Andrew Bartlett [Tue, 15 Apr 2008 14:29:13 +0000 (16:29 +0200)]
Fix winbind to check machine account.
This enables 'wbinfo -t', by checking the machine account with a
SamLogon call.
Andrew Bartlett
Jelmer Vernooij [Tue, 15 Apr 2008 14:00:07 +0000 (16:00 +0200)]
Fix size to memcpy call in generated Samba 3 client code.
Reported-By: vl
Andrew Bartlett [Tue, 15 Apr 2008 13:52:52 +0000 (15:52 +0200)]
Fix provision-backend script
Andrew Bartlett
Jelmer Vernooij [Tue, 15 Apr 2008 12:32:13 +0000 (14:32 +0200)]
Fix pointers when pushing strings to python during pidl generation.
Jelmer Vernooij [Tue, 15 Apr 2008 10:51:31 +0000 (12:51 +0200)]
Saner names for Python objects.
Jelmer Vernooij [Tue, 15 Apr 2008 10:15:43 +0000 (12:15 +0200)]
Fix warnings.
Jelmer Vernooij [Tue, 15 Apr 2008 09:10:56 +0000 (11:10 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
Jelmer Vernooij [Tue, 15 Apr 2008 08:55:32 +0000 (10:55 +0200)]
Attempt to fix the pidl installation on fedora.
Andrew Bartlett [Tue, 15 Apr 2008 08:40:06 +0000 (10:40 +0200)]
Test password change with 'net password change'.
Andrew Bartlett
Andrew Bartlett [Tue, 15 Apr 2008 08:05:29 +0000 (10:05 +0200)]
Test a few more bits of smbclient
Andrew Tridgell [Tue, 15 Apr 2008 07:54:41 +0000 (09:54 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Bartlett [Tue, 15 Apr 2008 07:13:32 +0000 (09:13 +0200)]
Add blackbox test for ndrdump, to ensure it at least does not
segfault.
Andrew Bartlett
Jelmer Vernooij [Tue, 15 Apr 2008 02:08:28 +0000 (04:08 +0200)]
Work around 'test' quirks - use make's string comparison instead.
Jelmer Vernooij [Tue, 15 Apr 2008 01:59:56 +0000 (03:59 +0200)]
Fix ALL_OBJS value.
Jelmer Vernooij [Tue, 15 Apr 2008 00:25:16 +0000 (02:25 +0200)]
Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
Jelmer Vernooij [Mon, 14 Apr 2008 23:52:55 +0000 (01:52 +0200)]
Make sure init function sentinels are set for modules.
Jelmer Vernooij [Mon, 14 Apr 2008 23:40:32 +0000 (01:40 +0200)]
Fix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 21:30:17 +0000 (23:30 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 21:28:14 +0000 (23:28 +0200)]
Use RpcInterfaceTestCase everywhere.
Jelmer Vernooij [Mon, 14 Apr 2008 20:57:07 +0000 (22:57 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.
Jelmer Vernooij [Mon, 14 Apr 2008 20:34:22 +0000 (22:34 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
Jelmer Vernooij [Mon, 14 Apr 2008 18:39:12 +0000 (20:39 +0200)]
Fix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:32 +0000 (20:00 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:04 +0000 (20:00 +0200)]
Fix unresolved symbols.
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.
Andrew Bartlett [Mon, 14 Apr 2008 17:32:42 +0000 (19:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Jelmer Vernooij [Mon, 14 Apr 2008 17:20:43 +0000 (19:20 +0200)]
Make sure credentials are specified when running the Python winreg RPC tests.
Jelmer Vernooij [Mon, 14 Apr 2008 17:13:41 +0000 (19:13 +0200)]
Allow command line options in the subunitrun script.
Andrew Tridgell [Mon, 14 Apr 2008 17:09:57 +0000 (19:09 +0200)]
make the SMB2 negotiated read and write size settable in smb.conf
parametic options:
smb2:max read size = NNN
smb2:max write size = NNN
The defaults are 65536, which is what Vista sets, and what we
previously set
Jelmer Vernooij [Mon, 14 Apr 2008 17:01:32 +0000 (19:01 +0200)]
Also look in the environment for smb.conf path.
Andrew Tridgell [Mon, 14 Apr 2008 16:59:40 +0000 (18:59 +0200)]
fixed a valgrind error in id mapping
the status field is sent on both call and reply, but was only being
initialised on reply
Simo Sorce [Mon, 14 Apr 2008 16:43:37 +0000 (12:43 -0400)]
Fix problems with event context not being the parent.
Andrew Tridgell [Mon, 14 Apr 2008 16:44:43 +0000 (18:44 +0200)]
fixed an unitialised write warning in valgrind
the 'reserved' field was not being initialised before being pushed to
the wire
Jelmer Vernooij [Mon, 14 Apr 2008 16:30:07 +0000 (18:30 +0200)]
Add convenience TestCase class for testing RPC interfaces.
Andrew Bartlett [Mon, 14 Apr 2008 16:01:40 +0000 (18:01 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Mon, 14 Apr 2008 15:58:09 +0000 (17:58 +0200)]
Ensure we initialise s->lp_ctx for the way into the provision.
Andrew Bartlett
Jelmer Vernooij [Mon, 14 Apr 2008 15:54:19 +0000 (17:54 +0200)]
Fix order of variables in the makefile.
Jelmer Vernooij [Mon, 14 Apr 2008 15:22:58 +0000 (17:22 +0200)]
Use _OBJ_FILES variables in a couple more places.
Jelmer Vernooij [Mon, 14 Apr 2008 14:53:00 +0000 (16:53 +0200)]
Move object files lists to makefile rather than smb_build.