samba.git
12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Thu, 17 Apr 2008 12:25:22 +0000 (14:25 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

12 years agoRun samba3sam.js with bin/smbscript explicitly.
Andrew Bartlett [Thu, 17 Apr 2008 12:23:50 +0000 (14:23 +0200)]
Run samba3sam.js with bin/smbscript explicitly.

Andrew Bartlett

12 years agoFix build not to always use code coverage.
Andrew Bartlett [Thu, 17 Apr 2008 12:20:46 +0000 (14:20 +0200)]
Fix build not to always use code coverage.

Somehow, the way this was structured before always did a gcov build.

Andrew Bartlett

12 years agoAdd useful provisioning debugging options
Simo Sorce [Thu, 17 Apr 2008 12:04:57 +0000 (08:04 -0400)]
Add useful provisioning debugging options

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

12 years agoFix the build.
Jelmer Vernooij [Thu, 17 Apr 2008 11:04:04 +0000 (13:04 +0200)]
Fix the build.

12 years agoSpecify event_context to ldb_wrap_connect explicitly.
Jelmer Vernooij [Thu, 17 Apr 2008 10:23:44 +0000 (12:23 +0200)]
Specify event_context to ldb_wrap_connect explicitly.

12 years agoFix the expectations on the unixinfo test.
Andrew Bartlett [Thu, 17 Apr 2008 10:03:49 +0000 (12:03 +0200)]
Fix the expectations on the unixinfo test.

Andrew Bartlett

12 years agoRun more tests that were previously skipped.
Andrew Bartlett [Thu, 17 Apr 2008 09:25:19 +0000 (11:25 +0200)]
Run more tests that were previously skipped.

Andrew Bartlett

12 years agoSkip strcmp() on 2 NULL pointers.
Andrew Bartlett [Thu, 17 Apr 2008 09:22:23 +0000 (11:22 +0200)]
Skip strcmp() on 2 NULL pointers.

Andrew Bartlett

12 years agoUse the struct based winbind tests, but mark as known fail.
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

12 years agomake smb2 read and write size configurable
Andrew Tridgell [Thu, 17 Apr 2008 07:37:29 +0000 (09:37 +0200)]
make smb2 read and write size configurable

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

12 years agontvfs_generic: map SMB2 oplock levels to the generic ones
Stefan Metzmacher [Thu, 17 Apr 2008 01:54:26 +0000 (03:54 +0200)]
ntvfs_generic: map SMB2 oplock levels to the generic ones

metze

12 years agoSMB2-PERSISTENT-HANDLES1: verify some more fields
Stefan Metzmacher [Thu, 17 Apr 2008 01:52:45 +0000 (03:52 +0200)]
SMB2-PERSISTENT-HANDLES1: verify some more fields

metze

12 years agotorture/smb2: add SMB2-PERSISTENT-HANDLES1 test
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

12 years agoselftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
Stefan Metzmacher [Thu, 17 Apr 2008 00:38:13 +0000 (02:38 +0200)]
selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test

metze

12 years agotorture/smb2: add torture_suite_add_2smb2_test() helper function
Stefan Metzmacher [Wed, 16 Apr 2008 13:16:56 +0000 (15:16 +0200)]
torture/smb2: add torture_suite_add_2smb2_test() helper function

metze

12 years agotorture/smb2: fix whitespaces
Stefan Metzmacher [Wed, 16 Apr 2008 13:15:57 +0000 (15:15 +0200)]
torture/smb2: fix whitespaces

metze

12 years agosmb_server/smb2: initialize new create.in.blobs element untill it'll be supported
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

12 years agoAvoid recursive make for code coverage.
Jelmer Vernooij [Thu, 17 Apr 2008 00:06:07 +0000 (02:06 +0200)]
Avoid recursive make for code coverage.

12 years agolibcli/smb2: make it possible to pass additional extra blobs in smb2_create()
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

12 years agolibcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3
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

12 years agoAdd convenience function for getting at event context from ejs code.
Jelmer Vernooij [Wed, 16 Apr 2008 23:37:42 +0000 (01:37 +0200)]
Add convenience function for getting at event context from ejs code.

12 years agoAvoid using event_context_find where possible.
Jelmer Vernooij [Wed, 16 Apr 2008 23:37:02 +0000 (01:37 +0200)]
Avoid using event_context_find where possible.

12 years agoFix the build.
Jelmer Vernooij [Wed, 16 Apr 2008 23:30:21 +0000 (01:30 +0200)]
Fix the build.

12 years agoRequire explicit event context rather than looking if it is not specified.
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.

12 years agoExplicitly require event context to be specified.
Jelmer Vernooij [Wed, 16 Apr 2008 23:19:53 +0000 (01:19 +0200)]
Explicitly require event context to be specified.

12 years agoUse provided event context rather than looking for it.
Jelmer Vernooij [Wed, 16 Apr 2008 23:19:20 +0000 (01:19 +0200)]
Use provided event context rather than looking for it.

12 years agoRequire passing in an event context to endpoint mapper utility function.
Jelmer Vernooij [Wed, 16 Apr 2008 23:09:33 +0000 (01:09 +0200)]
Require passing in an event context to endpoint mapper utility function.

12 years agoRemove event context tracking from the credentials struct.
Jelmer Vernooij [Wed, 16 Apr 2008 23:03:18 +0000 (01:03 +0200)]
Remove event context tracking from the credentials struct.

12 years agoAvoid event_find_context when a event context is already available.
Jelmer Vernooij [Wed, 16 Apr 2008 21:06:27 +0000 (23:06 +0200)]
Avoid event_find_context when a event context is already available.

12 years agoUse readily available event context.
Jelmer Vernooij [Wed, 16 Apr 2008 20:52:07 +0000 (22:52 +0200)]
Use readily available event context.

12 years agoAvoid event_find_context() when the event context is already available
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.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

12 years agoFix todo element on actually implemented function.
Jelmer Vernooij [Wed, 16 Apr 2008 16:11:37 +0000 (18:11 +0200)]
Fix todo element on actually implemented function.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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

12 years agoAdjust the expectations of the struct based winbind test.
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

12 years agoProvide stubs when the [todo] attribute is set.
Jelmer Vernooij [Wed, 16 Apr 2008 15:21:48 +0000 (17:21 +0200)]
Provide stubs when the [todo] attribute is set.

12 years agofixed popt handling on 64bit boxes in gentest
Andrew Tridgell [Wed, 16 Apr 2008 15:11:21 +0000 (17:11 +0200)]
fixed popt handling on 64bit boxes in gentest

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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

12 years agoFix struct_based winbind test for 'check machine account'.
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

12 years agoFix wbinfo --trusted-domains.
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

12 years agoUse the subunit shell library.
Jelmer Vernooij [Wed, 16 Apr 2008 12:52:29 +0000 (14:52 +0200)]
Use the subunit shell library.

12 years agoRemove policy library - it's now in a separate git repository.
Jelmer Vernooij [Wed, 16 Apr 2008 12:41:42 +0000 (14:41 +0200)]
Remove policy library - it's now in a separate git repository.

12 years agoUse library for subunit test functions.
Jelmer Vernooij [Wed, 16 Apr 2008 10:34:53 +0000 (12:34 +0200)]
Use library for subunit test functions.

12 years agomake sure header can be included more than once.
Jelmer Vernooij [Wed, 16 Apr 2008 09:43:37 +0000 (11:43 +0200)]
make sure header can be included more than once.

12 years agoNow that we don't create a new event context, don't free it.
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

12 years agoRemove unused arguments from reg_open_local().
Jelmer Vernooij [Tue, 15 Apr 2008 23:32:54 +0000 (01:32 +0200)]
Remove unused arguments from reg_open_local().

12 years agoFix -r test, knownfailure return code.
Jelmer Vernooij [Tue, 15 Apr 2008 23:10:20 +0000 (01:10 +0200)]
Fix -r test, knownfailure return code.

12 years agoMention the actual exit code when a suite failed.
Jelmer Vernooij [Tue, 15 Apr 2008 22:17:03 +0000 (00:17 +0200)]
Mention the actual exit code when a suite failed.

12 years agoMerge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress...
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

12 years agoFix executable bit on blackbox ndrdump tests.
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:12 +0000 (00:05 +0200)]
Fix executable bit on blackbox ndrdump tests.

12 years agoProvide the right error count to formatters.
Jelmer Vernooij [Tue, 15 Apr 2008 22:04:11 +0000 (00:04 +0200)]
Provide the right error count to formatters.

12 years agoProperly warn about exit codes that indicate success while tests claim
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.

12 years agoSupport knownfail Subunit command.
Jelmer Vernooij [Tue, 15 Apr 2008 22:03:00 +0000 (00:03 +0200)]
Support knownfail Subunit command.

12 years agoDeal with commands not even starting.
Jelmer Vernooij [Tue, 15 Apr 2008 21:52:06 +0000 (23:52 +0200)]
Deal with commands not even starting.

12 years agoblackbox: Add many more tests for wbinfo
Kai Blin [Tue, 15 Apr 2008 15:04:36 +0000 (17:04 +0200)]
blackbox: Add many more tests for wbinfo

12 years agoAdd some documentation about the expected testsuite output.
Jelmer Vernooij [Tue, 15 Apr 2008 21:21:43 +0000 (23:21 +0200)]
Add some documentation about the expected testsuite output.

12 years agoAdd some documentation on test behaviour in selftest.
Jelmer Vernooij [Tue, 15 Apr 2008 20:42:52 +0000 (22:42 +0200)]
Add some documentation on test behaviour in selftest.

12 years agoSplit binding structure handling out into a separate file.
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.

12 years agoRe-add 'db' subdirectory for LDAP backend provision
Andrew Bartlett [Tue, 15 Apr 2008 15:10:47 +0000 (17:10 +0200)]
Re-add 'db' subdirectory for LDAP backend provision

Andrew Bartlett

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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

12 years agoFix some of the winbind tests.
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

12 years agoFix winbind to check machine account.
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

12 years agoFix size to memcpy call in generated Samba 3 client code.
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
12 years agoFix provision-backend script
Andrew Bartlett [Tue, 15 Apr 2008 13:52:52 +0000 (15:52 +0200)]
Fix provision-backend script

Andrew Bartlett

12 years agoFix pointers when pushing strings to python during pidl generation.
Jelmer Vernooij [Tue, 15 Apr 2008 12:32:13 +0000 (14:32 +0200)]
Fix pointers when pushing strings to python during pidl generation.

12 years agoSaner names for Python objects.
Jelmer Vernooij [Tue, 15 Apr 2008 10:51:31 +0000 (12:51 +0200)]
Saner names for Python objects.

12 years agoFix warnings.
Jelmer Vernooij [Tue, 15 Apr 2008 10:15:43 +0000 (12:15 +0200)]
Fix warnings.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
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

12 years agoAttempt to fix the pidl installation on fedora.
Jelmer Vernooij [Tue, 15 Apr 2008 08:55:32 +0000 (10:55 +0200)]
Attempt to fix the pidl installation on fedora.

12 years agoTest password change with 'net password change'.
Andrew Bartlett [Tue, 15 Apr 2008 08:40:06 +0000 (10:40 +0200)]
Test password change with 'net password change'.

Andrew Bartlett

12 years agoTest a few more bits of smbclient
Andrew Bartlett [Tue, 15 Apr 2008 08:05:29 +0000 (10:05 +0200)]
Test a few more bits of smbclient

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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

12 years agoAdd blackbox test for ndrdump, to ensure it at least does not
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

12 years agoWork around 'test' quirks - use make's string comparison instead.
Jelmer Vernooij [Tue, 15 Apr 2008 02:08:28 +0000 (04:08 +0200)]
Work around 'test' quirks - use make's string comparison instead.

12 years agoFix ALL_OBJS value.
Jelmer Vernooij [Tue, 15 Apr 2008 01:59:56 +0000 (03:59 +0200)]
Fix ALL_OBJS value.

12 years agoMove SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly...
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.

12 years agoMake sure init function sentinels are set for modules.
Jelmer Vernooij [Mon, 14 Apr 2008 23:52:55 +0000 (01:52 +0200)]
Make sure init function sentinels are set for modules.

12 years agoFix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 23:40:32 +0000 (01:40 +0200)]
Fix the build.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
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

12 years agoUse RpcInterfaceTestCase everywhere.
Jelmer Vernooij [Mon, 14 Apr 2008 21:28:14 +0000 (23:28 +0200)]
Use RpcInterfaceTestCase everywhere.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
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

12 years agoExplicitly specify the paths when installing pidl.
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
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

12 years agoFix the build.
Jelmer Vernooij [Mon, 14 Apr 2008 18:39:12 +0000 (20:39 +0200)]
Fix the build.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
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

12 years agoFix unresolved symbols.
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:04 +0000 (20:00 +0200)]
Fix unresolved symbols.

12 years agoExplicitly specify the paths when installing pidl.
Jelmer Vernooij [Mon, 14 Apr 2008 17:41:13 +0000 (19:41 +0200)]
Explicitly specify the paths when installing pidl.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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

12 years agoMake sure credentials are specified when running the Python winreg RPC tests.
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.

12 years agoAllow command line options in the subunitrun script.
Jelmer Vernooij [Mon, 14 Apr 2008 17:13:41 +0000 (19:13 +0200)]
Allow command line options in the subunitrun script.

12 years agomake the SMB2 negotiated read and write size settable in smb.conf
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

12 years agoAlso look in the environment for smb.conf path.
Jelmer Vernooij [Mon, 14 Apr 2008 17:01:32 +0000 (19:01 +0200)]
Also look in the environment for smb.conf path.

12 years agofixed a valgrind error in id mapping
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

12 years agoFix problems with event context not being the parent.
Simo Sorce [Mon, 14 Apr 2008 16:43:37 +0000 (12:43 -0400)]
Fix problems with event context not being the parent.

12 years agofixed an unitialised write warning in valgrind
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

12 years agoAdd convenience TestCase class for testing RPC interfaces.
Jelmer Vernooij [Mon, 14 Apr 2008 16:30:07 +0000 (18:30 +0200)]
Add convenience TestCase class for testing RPC interfaces.

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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