samba.git
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
(This used to be commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273)

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
(This used to be commit 85c9b21a457ccbf9014ae8f0554a8a5938256a11)

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
(This used to be commit 2090e75e0c28f8d2aada305059bdb455f42ed0d5)

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
(This used to be commit a626a9c69cb2c07c8de69dcfe45361f86d6de58d)

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
(This used to be commit 9013748273378f88bfc66d3583814f0fee67c40f)

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
(This used to be commit ae0a7d0918cc15309a6d1166885f23531365007c)

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
(This used to be commit 30e04ae3a02596de03d06874ff5dfc0ddc3bf902)

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
(This used to be commit 02bfe20fd3ef2981945b3eb38f0bf012ef0cb91e)

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
(This used to be commit d70afbb0673184ed067e5f1c7608536025a3cca7)

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

metze
(This used to be commit 66c0f331a231ea8897bd8f83658c86b1d2c85d62)

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
(This used to be commit fbfbd74e65b1f3e185f08a538bdd50ba7c6ce9bf)

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
(This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)

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
(This used to be commit 874924a85a862e38b7d1a6199276e998cf3697d8)

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.
(This used to be commit d40804777edf41889bd461f63f7a07cc1cc60e27)

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
(This used to be commit b175e7bf16eb26c0bae9731a9147d1d379ca8888)

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.
(This used to be commit dedbeea4d28ae10a15766e38e59593a2799183f3)

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
(This used to be commit eab5f6a7f5efa8608cb23af2cab8ab19f9f62485)

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
(This used to be commit 29d5de9e8fb69346e29a95c6fcaefabd018c9447)

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.
(This used to be commit 356a5d24747bb5e1ef9774c690a5ec386a4a165e)

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
(This used to be commit 40c93ffbe9eb09a5b3dc02ba56d28bf50df8ed82)

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
(This used to be commit 18dd8120cc35fe3d1cd4455c1f6a32b503274d97)

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
(This used to be commit df05f118831245bdb19573711545bdb1b01a0c50)

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
(This used to be commit 86694d429d62940882ac9b7af83b3e7d00e67c5a)

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.
(This used to be commit 49367e044e3ab94639ab3209bfd06c6286b44b59)

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.
(This used to be commit 9b364bf390524fa34db1b3d7e6f875a6b8f35f24)

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.
(This used to be commit 690924dc7f43b69b9c4cfc1dd0c9c6e83d333518)

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.
(This used to be commit 38ed501ac8993e84ea7f02d4633bc83b490dfe61)

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
(This used to be commit 664f2fc49f32a081f14638571ee0db01a7863347)

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().
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)

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.
(This used to be commit 4f0954905a902381e66eec74fd30ff7adde232b8)

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.
(This used to be commit 46ad68ad0b9c604a6519de68c9bce8f5154b5c14)

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
(This used to be commit 56340a5fa1b075001bba829686861a59406e1f5d)

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.
(This used to be commit a3f0e4151bd87399a8bab9b71bad36bdc53c365c)

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.
(This used to be commit f22602797fe841859c67558bb78e04c98b9e27e0)

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.
(This used to be commit 92873264d707bed88beac54a73a29d66c011f80c)

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

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.
(This used to be commit 0f789e6779eca38d93b968a0ffbbb8559ce483f1)

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
(This used to be commit 0a2942f6e948177fcc671eae705e6e61644de81c)

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.
(This used to be commit a24651d649d24589a6c65e7bc4be9c49fdc80b2a)

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.
(This used to be commit e8e9f2cc7b0503e30b211094f452829395a73eec)

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.
(This used to be commit b9cac469f3c869a26f415a6c551cf6e8fbb06ed6)

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
(This used to be commit 19890c0d15adf4f099365f276a4bfdd3f4de52b6)

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
(This used to be commit 66327b8bd8dbde140b93f000a81ba13e743f27b0)

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
(This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)

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
(This used to be commit abefa12029a17e9007f4884f3651d835a10ee9e3)

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
(This used to be commit a28807569d0cf32968bacdc0bd88197b19fbae49)

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
(This used to be commit ee6e4f8da229ddeca856a6db94236367aae06f63)

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.
(This used to be commit ca72187b3e71a037780d42a57e46b60e75f724f6)

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.
(This used to be commit f4de8d2c1c956bc85b91dc7aab20e5e7671f51bc)

12 years agoFix warnings.
Jelmer Vernooij [Tue, 15 Apr 2008 10:15:43 +0000 (12:15 +0200)]
Fix warnings.
(This used to be commit 88013ca9775a6ff5e5a393f9d8238dbcd197f26f)

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
(This used to be commit a039acb9156b3855e8565ce6d1ca078aea18a349)

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.
(This used to be commit 4dd29284bdffc96df1d6eb71b25e305f107d1e12)

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
(This used to be commit 695cee0349f561625e4bbfa3a142a5e35f7eb4bf)

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
(This used to be commit 24a2409d725953ed5f62c652acc929ee7ddf9a19)

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
(This used to be commit e891157b4ec7b2f845fb20c4106d80bf169f2072)

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
(This used to be commit d2fe61a13a8368ceae30c6e7320c8d3d62fbc485)

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.
(This used to be commit 434b61623ecfd846f043ee92c833e92cf905e7b4)

12 years agoFix ALL_OBJS value.
Jelmer Vernooij [Tue, 15 Apr 2008 01:59:56 +0000 (03:59 +0200)]
Fix ALL_OBJS value.
(This used to be commit 8710087728cc44761ae85f66c541ab1650e1b952)

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.
(This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)

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.
(This used to be commit fac3463dd505404998b6b00526f1dad6ae47ba84)

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

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
(This used to be commit 0239011ced6c864f85b47a342438228a8f6940ee)

12 years agoUse RpcInterfaceTestCase everywhere.
Jelmer Vernooij [Mon, 14 Apr 2008 21:28:14 +0000 (23:28 +0200)]
Use RpcInterfaceTestCase everywhere.
(This used to be commit 799095b4e567f4495adf7d1d7bcb81dda6782959)

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
(This used to be commit 7fd98e492e2bf71d111ea8fa3ca9108506f60264)

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.
(This used to be commit 5e988a34ded288660c6e543e59b566ec12d2fba7)

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
(This used to be commit d2d564ad2e9b7cb0440a30a302176cce333649c7)

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

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
(This used to be commit 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)

12 years agoFix unresolved symbols.
Jelmer Vernooij [Mon, 14 Apr 2008 18:00:04 +0000 (20:00 +0200)]
Fix unresolved symbols.
(This used to be commit 8573e828d1b68c47b3c1754e9be230b2e78d9d52)

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.
(This used to be commit 1695e0e1ab3f2151490232462b0e3650eba96237)

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
(This used to be commit 0f0c8519b87481e3473a469cefd51c76b4a7632e)

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.
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)

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.
(This used to be commit 524ec0796efebd48e7b5b2eb5fcc92ecc13c0071)

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
(This used to be commit 9e60164cae42b5dd95720e48301a2ac57e95482a)

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.
(This used to be commit 8be7d93735a357a3b73a1c4413d6fd9ec09b7555)

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
(This used to be commit 2ebd7b80998775168959d511fbc987f8b5b7bd34)

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.
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)

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
(This used to be commit dfe4b5009885c4eeca24569f35b9fc85bfe6346b)

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.
(This used to be commit 2f19f981449bf6f4d29f231259817c8b66104a9b)

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
(This used to be commit f610862dc900cb3ddf0f275641bc3b66ad1f3bc4)

12 years agoEnsure we initialise s->lp_ctx for the way into the provision.
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
(This used to be commit b191a1953c24545e9dc1869fc33cb29343d4e3f2)

12 years agoFix order of variables in the makefile.
Jelmer Vernooij [Mon, 14 Apr 2008 15:54:19 +0000 (17:54 +0200)]
Fix order of variables in the makefile.
(This used to be commit f64c1d53ba50bb50d32f819adf8727513468ccd7)

12 years agoUse _OBJ_FILES variables in a couple more places.
Jelmer Vernooij [Mon, 14 Apr 2008 15:22:58 +0000 (17:22 +0200)]
Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)

12 years agoMove object files lists to makefile rather than smb_build.
Jelmer Vernooij [Mon, 14 Apr 2008 14:53:00 +0000 (16:53 +0200)]
Move object files lists to makefile rather than smb_build.
(This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)

12 years agolib/events: fix missing prototype of s4_events_aio_init()
Stefan Metzmacher [Mon, 14 Apr 2008 14:45:38 +0000 (16:45 +0200)]
lib/events: fix missing prototype of s4_events_aio_init()

metze
(This used to be commit 8dca5b9bbb8706a98ad9a15f1b479be497dd44e7)

12 years agoMakefile: fix variable name automatic_deps -> automatic_dependencies
Stefan Metzmacher [Mon, 14 Apr 2008 14:41:46 +0000 (16:41 +0200)]
Makefile: fix variable name automatic_deps -> automatic_dependencies

metze
(This used to be commit 7ffc44b7c126dc08d928e63af30111b2c556146f)

12 years agoInclude the smbconf parameter to the provision
Andrew Bartlett [Mon, 14 Apr 2008 14:01:15 +0000 (16:01 +0200)]
Include the smbconf parameter to the provision

Otherwise this fails, if the targetdir is not specified

Andrew Bartlett
(This used to be commit cd2d3d1c7a0aad7beb167459276c012c7a6d2e88)

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 13:26:26 +0000 (15:26 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 79854f0aa6a9899bb72d302cbca695b8b3a3b0dc)

12 years agoMove standard make compilation rules to build/make.
Jelmer Vernooij [Mon, 14 Apr 2008 12:51:57 +0000 (14:51 +0200)]
Move standard make compilation rules to build/make.
(This used to be commit ceda3312a98b069d0711f3cb33de3ae71e91ebaa)

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 11:49:47 +0000 (13:49 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 92751a73cd854365d365db854179bfd5aeabe7a2)

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 09:55:19 +0000 (11:55 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 9d3d64e1387e9f20383c255bba27128cf4b9519e)

12 years agoRemove prototypes from build.h in preparation of removing build.h
Jelmer Vernooij [Mon, 14 Apr 2008 09:54:50 +0000 (11:54 +0200)]
Remove prototypes from build.h in preparation of removing build.h
altogether.
(This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)

12 years agoRe-run SWIG
Andrew Bartlett [Mon, 14 Apr 2008 09:53:28 +0000 (11:53 +0200)]
Re-run SWIG
(This used to be commit 2f8010582607ad7389cac3de4945ea0ee46941b3)

12 years agoFix newuser and setpassword scripts, and port to idmap.
Andrew Bartlett [Mon, 14 Apr 2008 09:51:02 +0000 (11:51 +0200)]
Fix newuser and setpassword scripts, and port to idmap.

The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database.  Users without a
backing unix user will get an allocated uid by idmap later.

Andrew Bartlett
(This used to be commit 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)

12 years agoAdd in a way to get at the private_path() function from python
Andrew Bartlett [Mon, 14 Apr 2008 09:48:43 +0000 (11:48 +0200)]
Add in a way to get at the private_path() function from python

Andrew Bartlett
(This used to be commit 416d2e3a5233f0c243e45857cfda5126c34ac265)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Mon, 14 Apr 2008 09:32:04 +0000 (11:32 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 068c973dbeed5b0f5ccab4f780ae7db3535f5910)

12 years agofill in unknown fields in SMB2 READ call
Andrew Tridgell [Mon, 14 Apr 2008 09:31:17 +0000 (11:31 +0200)]
fill in unknown fields in SMB2 READ call
(This used to be commit 9b686c138037f613da15168d0722786e00f023e5)

12 years agoshow what type of idmapping has failed
Andrew Tridgell [Mon, 14 Apr 2008 09:30:10 +0000 (11:30 +0200)]
show what type of idmapping has failed
(This used to be commit 8a222419528153b889cb1a7eae09a155f196b9b5)

12 years agosmb_build: Make sure LIBRARY_SONAME is never uninitialized.
James Peach [Sun, 13 Apr 2008 21:09:09 +0000 (14:09 -0700)]
smb_build: Make sure LIBRARY_SONAME is never uninitialized.
(This used to be commit 2b8cf1b2a447711d123c563dfbd9a54941155267)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
Jelmer Vernooij [Sun, 13 Apr 2008 20:49:08 +0000 (22:49 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into cprovision
(This used to be commit 9b8448c1e4567be26fa4890c647e0d4d46efbe20)