sfrench/samba-autobuild/.git
16 years agor15090: Since we wrap the swig wrapper in another layer of Python, there isn't
Tim Potter [Sat, 15 Apr 2006 07:44:06 +0000 (07:44 +0000)]
r15090: Since we wrap the swig wrapper in another layer of Python, there isn't
much point in doing lots of %rename calls in tdb.i so get rid of them.
(This used to be commit 983321f769a6ebc298f1f69bca1ac41ddc860606)

16 years agor15087: Quick stress test that does more or less what the tool "iometer" does.
Volker Lendecke [Fri, 14 Apr 2006 20:36:36 +0000 (20:36 +0000)]
r15087: Quick stress test that does more or less what the tool "iometer" does.

Volker
(This used to be commit 6a08b192bec95cc0bbe017a2ce692afce63e047f)

16 years agor15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
Stefan Metzmacher [Thu, 13 Apr 2006 13:53:27 +0000 (13:53 +0000)]
r15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
desired but SeSecurityPrivilege isn't granted

metze
(This used to be commit be7285bdebd58e7a86fcc64f7b22b9f533bcc4f5)

16 years agor15078: add TODO about setting the full ACL with an NTTRANS_CREATE
Stefan Metzmacher [Thu, 13 Apr 2006 12:59:41 +0000 (12:59 +0000)]
r15078: add TODO about setting the full ACL with an NTTRANS_CREATE

metze
(This used to be commit bd2c899d83615066fbd1332495a4610eeea8f8ee)

16 years agor15077: map SID_BUILTIN_USERS
Stefan Metzmacher [Thu, 13 Apr 2006 12:17:12 +0000 (12:17 +0000)]
r15077: map SID_BUILTIN_USERS

metze
(This used to be commit e896c32614fd4fd80a124ccfe49332e319f717f9)

16 years agor15076: give the correct return code
Stefan Metzmacher [Thu, 13 Apr 2006 12:13:40 +0000 (12:13 +0000)]
r15076: give the correct return code

metze
(This used to be commit 92a06638126b0565c0aec45862c549ef91e7212b)

16 years agor15071: fix typo
Stefan Metzmacher [Thu, 13 Apr 2006 12:03:05 +0000 (12:03 +0000)]
r15071: fix typo

metze
(This used to be commit fde8922947551f5f7d50607c5c83feba062138c8)

16 years agor15070: test the needed access masks for read/write the different
Stefan Metzmacher [Thu, 13 Apr 2006 11:37:44 +0000 (11:37 +0000)]
r15070: test the needed access masks for read/write the different
security descriptor components

metze
(This used to be commit 88c57c8703565c4fb367b68e70030944d9f262e6)

16 years agor15069: - don't crash on a NULL acl
Stefan Metzmacher [Thu, 13 Apr 2006 11:34:39 +0000 (11:34 +0000)]
r15069: - don't crash on a NULL acl
- add the correct access checks for changing sd->group and sd->dacl

metze
(This used to be commit 2a61f65cd4084bf690caccf87efaf46551a13aee)

16 years agor15066: - sync the dir_flags tests with the file_flags tests
Stefan Metzmacher [Thu, 13 Apr 2006 09:00:38 +0000 (09:00 +0000)]
r15066: - sync the dir_flags tests with the file_flags tests
- add some more checks for the w2k3 bug case

metze
(This used to be commit a55b44b96c556c5a645b493faa8d9660e1fcda67)

16 years agor15065: Remove duplicate prototype.
Tim Potter [Thu, 13 Apr 2006 04:19:27 +0000 (04:19 +0000)]
r15065: Remove duplicate prototype.
(This used to be commit 9d9df34d94842ea9f4be3fa51b197fb4bb918488)

16 years agor15064: Remove the change until I find proper solution
Alexander Bokovoy [Thu, 13 Apr 2006 04:14:18 +0000 (04:14 +0000)]
r15064: Remove the change until I find proper solution
(This used to be commit 4356a8c14d5219fae0a2f7c79ae929a90768996f)

16 years agor15063: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
Alexander Bokovoy [Thu, 13 Apr 2006 04:10:09 +0000 (04:10 +0000)]
r15063: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
(This used to be commit 8e5f1a0c0636ec1058fe65fafec487670e7ee448)

16 years agor15062: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
Alexander Bokovoy [Thu, 13 Apr 2006 04:04:10 +0000 (04:04 +0000)]
r15062: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
(This used to be commit dc1667b88e0ce1f9438dd4ee7a0d405f69d74edf)

16 years agor15061: Use $(PERL) to run cflags.pl as actual perl binary might not be in /usr/bin
Alexander Bokovoy [Thu, 13 Apr 2006 03:09:14 +0000 (03:09 +0000)]
r15061: Use $(PERL) to run cflags.pl as actual perl binary might not be in /usr/bin
(This used to be commit 7d5a91a667418b18bde9399ffc4c9852c422362a)

16 years agor15057: fix access masks for getting and setting security_descriptors
Stefan Metzmacher [Wed, 12 Apr 2006 16:27:53 +0000 (16:27 +0000)]
r15057: fix access masks for getting and setting security_descriptors

I'll add some torture tests later...

metze
(This used to be commit ce045f4df37b6740f2bf849fd06ab51c682ea0b7)

16 years agor15056: w2k3 gives NT_STATUS_ACCESS_DENIED instead of NT_STATUS_ACCESS_VIOLATION
Stefan Metzmacher [Wed, 12 Apr 2006 16:19:42 +0000 (16:19 +0000)]
r15056: w2k3 gives NT_STATUS_ACCESS_DENIED instead of NT_STATUS_ACCESS_VIOLATION

metze
(This used to be commit 5c1d96b36f14538360d90afc76ddba59d4feee1b)

16 years agor15055: this was my version for the crash bug in the messaging code...
Stefan Metzmacher [Wed, 12 Apr 2006 15:52:17 +0000 (15:52 +0000)]
r15055: this was my version for the crash bug in the messaging code...
it also makes the function a bit shorter and clearer,
as the tmp msg_types only have one handler and not a list

metze
(This used to be commit 7e709fd04dc4fb083bd8b01b3f0fa88b932aa9b7)

16 years agor15052: Do not add builddir variants into include paths when building in-tree
Alexander Bokovoy [Wed, 12 Apr 2006 13:02:56 +0000 (13:02 +0000)]
r15052: Do not add builddir variants into include paths when building in-tree
(This used to be commit 2e2a33ce3f72164a4ed16a81025dc55a55f5e465)

16 years agor15051: Remove directory creation from this rule; we use script/buildtree.pl for...
Alexander Bokovoy [Wed, 12 Apr 2006 12:28:22 +0000 (12:28 +0000)]
r15051: Remove directory creation from this rule; we use script/buildtree.pl for external build dir instead
(This used to be commit ba7b41bb57c926ba165260016c537622210b029b)

16 years agor15050: fixed a double free in the new messaging code.
Andrew Tridgell [Wed, 12 Apr 2006 09:38:07 +0000 (09:38 +0000)]
r15050: fixed a double free in the new messaging code.
(This used to be commit ee7869bb3c901fb91efedc8208aa56df927987c5)

16 years agor15049: for really efficient oplock handling with thousands of open files we
Andrew Tridgell [Wed, 12 Apr 2006 06:08:24 +0000 (06:08 +0000)]
r15049: for really efficient oplock handling with thousands of open files we
will need a separate messaging endpoint per open file. To make this
efficient extend the messaging layer to have a new registration
function for temporary message types that maps via an idtree.

I have updated the LOCAL-MESSAGING test to use the new function.
(This used to be commit 4b976851d8b7ccd2c40010be095cef7fecf9e722)

16 years agor15048: started on the server side implementation of oplocks. The code is not
Andrew Tridgell [Wed, 12 Apr 2006 04:42:40 +0000 (04:42 +0000)]
r15048: started on the server side implementation of oplocks. The code is not
functional yet, I'm committing so it doesn't diverge too much from
other peoples work. It is disabled by default.
(This used to be commit ba0b8a218dfe1ef6cdf7de724fb30650301369dd)

16 years agor15036: Add out of tree build support and see how buildfarm will respond to make...
Alexander Bokovoy [Tue, 11 Apr 2006 11:37:52 +0000 (11:37 +0000)]
r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489e2c231ffb7986d39009e0936873c11)

16 years agor15033: expanded the RAW-OPLOCK test to include the different cases where the
Andrew Tridgell [Tue, 11 Apr 2006 04:40:11 +0000 (04:40 +0000)]
r15033: expanded the RAW-OPLOCK test to include the different cases where the
client chooses to break to none or break to level II, when offered a
level II break from exclusive
(This used to be commit 9a35b14422980fb9a8049058fd30e79d19a1e242)

16 years agor15032: change BENCH-NBENCH to always break to none, rather than accepting a
Andrew Tridgell [Tue, 11 Apr 2006 04:36:09 +0000 (04:36 +0000)]
r15032: change BENCH-NBENCH to always break to none, rather than accepting a
levelII break offer from the server.
(This used to be commit 7d7853476e03262133093c69f1f93ee02cc87840)

16 years agor15029: fixed the detection of inotify
Andrew Tridgell [Tue, 11 Apr 2006 01:19:20 +0000 (01:19 +0000)]
r15029: fixed the detection of inotify
(This used to be commit 5471b4b1a812dad3c97c97b938bd2dc41ae32420)

16 years agor15021: Couple more comments and fixes in spirit of utility functions
Rafal Szczesniak [Mon, 10 Apr 2006 22:03:26 +0000 (22:03 +0000)]
r15021: Couple more comments and fixes in spirit of utility functions
for composite interface.

rafal
(This used to be commit 905ca5a3ecd1c4ed5b9f206cdc855d0ddb92a07a)

16 years agor15017: When making up our own inotify functions, make sure glibc exports the
Tim Potter [Mon, 10 Apr 2006 12:15:40 +0000 (12:15 +0000)]
r15017: When making up our own inotify functions, make sure glibc exports the
__NR_inotify_* syscall numbers before trying.
(This used to be commit 5e79adda7c7e00c194efd1a5e57671f7bd34fe50)

16 years agor15016: add a test for a 2nd open with an exclusive oplock. It does not cause
Andrew Tridgell [Mon, 10 Apr 2006 06:06:26 +0000 (06:06 +0000)]
r15016: add a test for a 2nd open with an exclusive oplock. It does not cause
a break, as exclusive oplocks don't cache close requests
(This used to be commit 9f2617a062e99805c42fe9b2fa0179b1672b25e5)

16 years agor15015: add an explanation for this test
Andrew Tridgell [Mon, 10 Apr 2006 05:12:49 +0000 (05:12 +0000)]
r15015: add an explanation for this test
(This used to be commit 9fdeec506fe5005601c0589574d2b8ae3c6166e5)

16 years agor15014: added a simple batch oplock benchmark
Andrew Tridgell [Mon, 10 Apr 2006 04:51:52 +0000 (04:51 +0000)]
r15014: added a simple batch oplock benchmark

Jeremy, Samba3 currently fails this test with a 2.6.16-rc6 kernel and
kernel oplocks enabled. With kernel oplock off it passes, though its a
bit slow
(This used to be commit 99df20246049c2645b04d5790b9e41c607872dc7)

16 years agor15002: More cleanups in build/m4/rewrite.m4
Jelmer Vernooij [Sat, 8 Apr 2006 17:19:32 +0000 (17:19 +0000)]
r15002: More cleanups in build/m4/rewrite.m4
(This used to be commit f5e2cc845696b56b9cb6a6c3cad48cd57fcc51c4)

16 years agor15001: Add 'make dist'
Jelmer Vernooij [Sat, 8 Apr 2006 16:49:03 +0000 (16:49 +0000)]
r15001: Add 'make dist'
(This used to be commit 16e67d04d40a156a60011bcf6247ebf6039bbf30)

16 years agor15000: Move some more autoconf tests out of build/m4/rewrite.m4
Jelmer Vernooij [Sat, 8 Apr 2006 16:25:53 +0000 (16:25 +0000)]
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
Guarantee availability of __FUNCTION__ in libreplace
(This used to be commit 76b1576541210f2bb306ae17e0876b254e8dcead)

16 years agor14999: Remove more unused autoconf code
Jelmer Vernooij [Sat, 8 Apr 2006 16:05:21 +0000 (16:05 +0000)]
r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)

16 years agor14998: Remove unused autoconf test, move others to proper places
Jelmer Vernooij [Sat, 8 Apr 2006 15:26:59 +0000 (15:26 +0000)]
r14998: Remove unused autoconf test, move others to proper places
(This used to be commit bfa396a16056f54163c514da8b34aaf229653765)

16 years agor14997: Fix build of static libraries. Libraries build fine now, but linking doesn't
Jelmer Vernooij [Sat, 8 Apr 2006 14:49:59 +0000 (14:49 +0000)]
r14997: Fix build of static libraries. Libraries build fine now, but linking doesn't
work yet.
(This used to be commit d3106699dba7a4344511134dd2cf1bfa2f4bc7ab)

16 years agor14996: Fix compilation of gencache
Jelmer Vernooij [Sat, 8 Apr 2006 14:48:04 +0000 (14:48 +0000)]
r14996: Fix compilation of gencache
(This used to be commit 6782214c44fbf69c0d4b65a75fb4430cb21b2e1c)

16 years agor14995: Avoid parallel builds unless there is support for automatic dependencies.
Jelmer Vernooij [Sat, 8 Apr 2006 14:26:32 +0000 (14:26 +0000)]
r14995: Avoid parallel builds unless there is support for automatic dependencies.
(This used to be commit ff5b02a9f8b9fe556e41b9d14afe3d855e855542)

16 years agor14993: Make subsystems again
Jelmer Vernooij [Sat, 8 Apr 2006 13:53:11 +0000 (13:53 +0000)]
r14993: Make subsystems again
(This used to be commit d55b040bd280c86423f2a620dfc0341accb23cc4)

16 years agor14992: Allow load_module() to be used externally
Jelmer Vernooij [Sat, 8 Apr 2006 13:44:40 +0000 (13:44 +0000)]
r14992: Allow load_module() to be used externally
(This used to be commit a9d5d7ab5807d8a50ce8f9e3aeedfd5b6530f3a3)

16 years agor14991: Add option -l to allow ndrdump to load dcerpc_interface_tables from .so files.
Jelmer Vernooij [Sat, 8 Apr 2006 13:43:57 +0000 (13:43 +0000)]
r14991: Add option -l to allow ndrdump to load dcerpc_interface_tables from .so files.
(This used to be commit eb34d5b8b108c480876fdc1c01de900305f84568)

16 years agor14990: talloc_reference() can fail
Stefan Metzmacher [Sat, 8 Apr 2006 07:54:15 +0000 (07:54 +0000)]
r14990: talloc_reference() can fail

metze
(This used to be commit 4410d7ea5d356f9a04f419f7254a60c20b1345c0)

16 years agor14984: marking mprBreakpoint() as a __noreturn__ function should reduce the
Andrew Tridgell [Sat, 8 Apr 2006 03:04:00 +0000 (03:04 +0000)]
r14984: marking mprBreakpoint() as a __noreturn__ function should reduce the
number of ejs errors from the IBM checker
(This used to be commit 68038ef5660b4b51c8c3897e8c384ba7bf3bbd8b)

16 years agor14983: fix an uninitialised var
Andrew Tridgell [Sat, 8 Apr 2006 03:00:12 +0000 (03:00 +0000)]
r14983: fix an uninitialised var
(This used to be commit 58ac1e4eb1a62029173118a7638dcbe7c0de1306)

16 years agor14982: mark a deliberate missing break
Andrew Tridgell [Sat, 8 Apr 2006 02:58:54 +0000 (02:58 +0000)]
r14982: mark a deliberate missing break
(This used to be commit 3b66cf35a783a1524e21b3f99125eb032968969e)

16 years agor14981: fixed a use of a wild ptr in regshell
Andrew Tridgell [Sat, 8 Apr 2006 02:58:36 +0000 (02:58 +0000)]
r14981: fixed a use of a wild ptr in regshell
(This used to be commit 868deaf89f34124a2a7ba2798fad83ffdabe316d)

16 years agor14980: fixed several IBM checker errors in gentest and masktest
Andrew Tridgell [Sat, 8 Apr 2006 02:55:16 +0000 (02:55 +0000)]
r14980: fixed several IBM checker errors in gentest and masktest
(This used to be commit 98016479a9f61b7a4aef83f7eef2876d84013e57)

16 years agor14979: avoid a null ptr deref
Andrew Tridgell [Sat, 8 Apr 2006 02:49:44 +0000 (02:49 +0000)]
r14979: avoid a null ptr deref
(This used to be commit b197bee4f6b0a310215620d18b081fca00661803)

16 years agor14978: fixed a print of NULL
Andrew Tridgell [Sat, 8 Apr 2006 02:47:42 +0000 (02:47 +0000)]
r14978: fixed a print of NULL
(This used to be commit bf867dc789dc966864223d8fdc52e093ccacf181)

16 years agor14977: more IBM checker fixes
Andrew Tridgell [Sat, 8 Apr 2006 02:44:37 +0000 (02:44 +0000)]
r14977: more IBM checker fixes
(This used to be commit cd106509b664e9ca53419a62550b256b7e5bde3c)

16 years agor14976: another use of the magic comment recognised by the IBM checker for
Andrew Tridgell [Sat, 8 Apr 2006 02:40:15 +0000 (02:40 +0000)]
r14976: another use of the magic comment recognised by the IBM checker for
deliberate fall through in switch
(This used to be commit 484cea71100cfeef89c8a5670443734ee14c3b8e)

16 years agor14975: use the magic comment recognised by the IBM checker for deliberate
Andrew Tridgell [Sat, 8 Apr 2006 02:36:28 +0000 (02:36 +0000)]
r14975: use the magic comment recognised by the IBM checker for deliberate
fall through in switch
(This used to be commit babf747cfdd7b5b03e89ade151e6fece4cf23dce)

16 years agor14974: work around an ibm checker bug
Andrew Tridgell [Sat, 8 Apr 2006 02:35:00 +0000 (02:35 +0000)]
r14974: work around an ibm checker bug
(This used to be commit 2031e07a8a14d83ab621f8baaae6b4e1425667d7)

16 years agor14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker)
Andrew Tridgell [Sat, 8 Apr 2006 02:33:24 +0000 (02:33 +0000)]
r14973: req cannot be NULL in smb_raw_t2open_recv() (found by IBM checker)
(This used to be commit c2cde823ee004b53707acd1390d25fa9856b5179)

16 years agor14972: fix an uninitialised warning from ibm checker
Andrew Tridgell [Sat, 8 Apr 2006 02:29:48 +0000 (02:29 +0000)]
r14972: fix an uninitialised warning from ibm checker
(This used to be commit 9b867d2acffdfdcd5dc1dd5341db19daf11b5e96)

16 years agor14971: Update test script with new location of tdb and ldb wrappers.
Tim Potter [Sat, 8 Apr 2006 02:04:19 +0000 (02:04 +0000)]
r14971: Update test script with new location of tdb and ldb wrappers.
(This used to be commit 7794dcd096d011ff0d8d9717040c879e0ec8c67f)

16 years agor14970: Add configure stuff for Python to tdb and ldb standalone builds.
Tim Potter [Sat, 8 Apr 2006 01:52:09 +0000 (01:52 +0000)]
r14970: Add configure stuff for Python to tdb and ldb standalone builds.
(This used to be commit 5e14e79489c67d55df20ef78ebf0aa168a5dc456)

16 years agor14969: ensure that even on slow machines we leave plenty of time for a series
Andrew Tridgell [Sat, 8 Apr 2006 00:47:15 +0000 (00:47 +0000)]
r14969: ensure that even on slow machines we leave plenty of time for a series
of events to propogate internally in smbd before asking for them

(the test was failing on slow machines)
(This used to be commit a493539458ff092262667d07b0dab2f2ee1ba7bf)

16 years agor14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.
Tim Potter [Sat, 8 Apr 2006 00:40:52 +0000 (00:40 +0000)]
r14968: Move tdb and ldb swig wrappers in to lib/tdb and lib/ldb directories.
(This used to be commit fa8d0dc14a1af9567401d54a803b34a6498b7cd4)

16 years agor14967: load shared module torture test after we know where to search...
Stefan Metzmacher [Fri, 7 Apr 2006 18:02:51 +0000 (18:02 +0000)]
r14967: load shared module torture test after we know where to search...

metze
(This used to be commit b2f45531544f52b63f61fc8224477e89eb3dca83)

16 years agor14966: make more functions _PUBLIC_
Stefan Metzmacher [Fri, 7 Apr 2006 14:14:27 +0000 (14:14 +0000)]
r14966: make more functions _PUBLIC_

metze
(This used to be commit 193f7da254cce40ab30fda9e99b8cd07e0b0a0a8)

16 years agor14965: the unixinfo pipe need the sidmap code from SAMDB
Stefan Metzmacher [Fri, 7 Apr 2006 14:13:31 +0000 (14:13 +0000)]
r14965: the unixinfo pipe need the sidmap code from SAMDB

metze
(This used to be commit ed657b840317ac2fa0aebfb7c40cec45c7c3485a)

16 years agor14964: - move sidmap code from ntvfs_common to SAMDB
Stefan Metzmacher [Fri, 7 Apr 2006 13:15:46 +0000 (13:15 +0000)]
r14964: - move sidmap code from ntvfs_common to SAMDB
- make ntvfs_common a library
- create sys_notify library

metze
(This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)

16 years agor14963: check talloc returns
Andrew Tridgell [Fri, 7 Apr 2006 12:32:51 +0000 (12:32 +0000)]
r14963: check talloc returns
(This used to be commit dd928e84ece04d35144befeda7a9b9dd597e4cf7)

16 years agor14962: fixed a valgrind error
Andrew Tridgell [Fri, 7 Apr 2006 12:19:29 +0000 (12:19 +0000)]
r14962: fixed a valgrind error
(This used to be commit 5a8d13c4e67974d198d71823774950483ec42088)

16 years agor14961: fix compiler warning
Stefan Metzmacher [Fri, 7 Apr 2006 12:11:50 +0000 (12:11 +0000)]
r14961: fix compiler warning

tridge: please add checks after talloc_realloc() and talloc_strdup()!

metze
(This used to be commit c136191870f91d4ce652da535a1cd52f4772574d)

16 years agor14960: don't declare variables mid-function
Andrew Tridgell [Fri, 7 Apr 2006 11:44:55 +0000 (11:44 +0000)]
r14960: don't declare variables mid-function
(This used to be commit 4537de9289ce025a240fe46a708434c195138d20)

16 years agor14959: allow change notify to be disabled completely using
Andrew Tridgell [Fri, 7 Apr 2006 11:25:21 +0000 (11:25 +0000)]
r14959: allow change notify to be disabled completely using
notify:enable=False
(This used to be commit 2a8f093105f3047a3697f29aadcc9c48c6ac88e1)

16 years agor14958: fixed big-endian dcerpc connections for the new string handling code
Andrew Tridgell [Fri, 7 Apr 2006 11:18:34 +0000 (11:18 +0000)]
r14958: fixed big-endian dcerpc connections for the new string handling code
(This used to be commit 0617aebbbcd27126aab71bc0502a736d7eee1d72)

16 years agor14957: fixed shell syntax for config.h creation, and move after AC_OUTPUT
Andrew Tridgell [Fri, 7 Apr 2006 10:59:10 +0000 (10:59 +0000)]
r14957: fixed shell syntax for config.h creation, and move after AC_OUTPUT
(This used to be commit a3d6d28adc2ece11e90c72d28ea918d8fcca7bc0)

16 years agor14956: change the notify search to be much more efficient by using a
Andrew Tridgell [Fri, 7 Apr 2006 10:36:54 +0000 (10:36 +0000)]
r14956: change the notify search to be much more efficient by using a
per-depth bisection search. This makes the notify_trigger() call
log(N) which makes us scale well for large numbers of outstanding
notifies
(This used to be commit 16fd00925fdbf77e7a403ad501bf6ea429404c76)

16 years agor14952: Make sure the auth subsystem gets initialized if a gensec module needs it.
Jelmer Vernooij [Thu, 6 Apr 2006 16:08:46 +0000 (16:08 +0000)]
r14952: Make sure the auth subsystem gets initialized if a gensec module needs it.
(This used to be commit ecf84248b48783fb0ccbeff4d37d930b21fb96df)

16 years agor14951: - remove unused var 'path'
Stefan Metzmacher [Thu, 6 Apr 2006 13:51:44 +0000 (13:51 +0000)]
r14951: - remove unused var 'path'
- fix compiler warning

metze
(This used to be commit 4d7de8b251e006a469adf2793dae422e128844c5)

16 years agor14950: make sure include/config.h is only updated when the content was changed
Stefan Metzmacher [Thu, 6 Apr 2006 12:30:06 +0000 (12:30 +0000)]
r14950: make sure include/config.h is only updated when the content was changed

metze
(This used to be commit 2488ead8c3431be3014012a05de4ee57ff13aa93)

16 years agor14949: re-add the two lex.c files for heimdal, these are needed for systems
Andrew Tridgell [Thu, 6 Apr 2006 11:32:54 +0000 (11:32 +0000)]
r14949: re-add the two lex.c files for heimdal, these are needed for systems
that don't have bison/flex. If we auto-generate these on samba.org we
can delete these again.
(This used to be commit dca9003ec27747cf7a584ee67fd222ab22601494)

16 years agor14948: add testing of truncate events, and add truncate support to inotify
Andrew Tridgell [Thu, 6 Apr 2006 11:09:24 +0000 (11:09 +0000)]
r14948: add testing of truncate events, and add truncate support to inotify
backend
(This used to be commit b80523a631ec57c7d19e9a23dca4594d71036138)

16 years agor14947: add support for file truncate events
Andrew Tridgell [Thu, 6 Apr 2006 11:07:21 +0000 (11:07 +0000)]
r14947: add support for file truncate events
(This used to be commit ed1b90407d8ef6e0216931cb3a89cc9a7789ead2)

16 years agor14946: added a smbcli_ftruncate() call, useful for torture testing
Andrew Tridgell [Thu, 6 Apr 2006 11:06:28 +0000 (11:06 +0000)]
r14946: added a smbcli_ftruncate() call, useful for torture testing
(This used to be commit b8b9acc60003c86fb1f0377b46f65155c3b898a9)

16 years agor14945: allow the notify backend to be specified per share
Andrew Tridgell [Thu, 6 Apr 2006 10:12:36 +0000 (10:12 +0000)]
r14945: allow the notify backend to be specified per share
(This used to be commit 467027e7730a3bc56f152df7e2ec272905e19584)

16 years agor14944: pass any error of build/smb_build/main.pl to the caller of ./config.status
Stefan Metzmacher [Thu, 6 Apr 2006 10:09:09 +0000 (10:09 +0000)]
r14944: pass any error of build/smb_build/main.pl to the caller of ./config.status

metze
(This used to be commit 977df5f44303b1b80474386a437dd95e62308458)

16 years agor14943: bring the inotify backend up to date with all the strange rename
Andrew Tridgell [Thu, 6 Apr 2006 10:07:13 +0000 (10:07 +0000)]
r14943: bring the inotify backend up to date with all the strange rename
semantics
(This used to be commit 74c274ea072fc45debaafd438ff63321b38a1448)

16 years agor14942: make the RAW-NOTIFY test check the strange file rename semantics. Also
Andrew Tridgell [Thu, 6 Apr 2006 10:06:28 +0000 (10:06 +0000)]
r14942: make the RAW-NOTIFY test check the strange file rename semantics. Also
be more forgiving of matching on extra bits (inotify cannot match on
minimal bits for all events).
(This used to be commit 29de884737ada8c1094b6e0958b54f523a7cdbf4)

16 years agor14941: a rename of a file (but not a directory) triggers 3 events. The first
Andrew Tridgell [Thu, 6 Apr 2006 10:05:19 +0000 (10:05 +0000)]
r14941: a rename of a file (but not a directory) triggers 3 events. The first
two are the rename (FROM and TO) then the 3rd event is a modify event
of both attributes and creation time.
(This used to be commit 010a1b14a58c0194e1f8bba29f4d02a86b7559c5)

16 years agor14939: don't use a void pointer
Stefan Metzmacher [Thu, 6 Apr 2006 09:15:17 +0000 (09:15 +0000)]
r14939: don't use a void pointer

metze
(This used to be commit 03906b2b13c000ad9683f6bb1e336075655e1367)

16 years agor14938: add smbcli_fsetatr() as a convenient interface to a setfileinfo for
Andrew Tridgell [Thu, 6 Apr 2006 03:31:31 +0000 (03:31 +0000)]
r14938: add smbcli_fsetatr() as a convenient interface to a setfileinfo for
torture testing. Used by RAW-NOTIFY.
(This used to be commit 517db1b1b0061be57c67ea02d42000fb8ace844d)

16 years agor14937: fix a crash that can be caused by a notify triggering during a share
Andrew Tridgell [Thu, 6 Apr 2006 02:03:19 +0000 (02:03 +0000)]
r14937: fix a crash that can be caused by a notify triggering during a share
disconnect
(This used to be commit 85d70f1c150b6c8370deeb188dbf9e87c8b8d7ac)

16 years agor14936: remove a duplicate line
Andrew Tridgell [Thu, 6 Apr 2006 02:02:41 +0000 (02:02 +0000)]
r14936: remove a duplicate line
(This used to be commit fc11201ad1c44c20b9d1b8419c3632ca45f74013)

16 years agor14935: try to avoid a race condition in the recursion test
Andrew Tridgell [Thu, 6 Apr 2006 02:01:37 +0000 (02:01 +0000)]
r14935: try to avoid a race condition in the recursion test
(This used to be commit 659576806fef066203551281cab4dc5cd3234ff7)

16 years agor14934: greatly expand the RAW-NOTIFY testing of completion filters. We now
Andrew Tridgell [Thu, 6 Apr 2006 01:58:50 +0000 (01:58 +0000)]
r14934: greatly expand the RAW-NOTIFY testing of completion filters. We now
try each bit in the completion filter separately for a wide range of
file operations.
(This used to be commit 81f8b24526515d7a914022859fb03421c3a7611b)

16 years agor14933: fix the handling of notify filters to be much closer to the behaviour
Andrew Tridgell [Thu, 6 Apr 2006 01:56:04 +0000 (01:56 +0000)]
r14933: fix the handling of notify filters to be much closer to the behaviour
of w2k3. The behaviour is particularly tricky for rename.
(This used to be commit 4d3b8d95498a328ffc08ecb62d9531b6bfe4e2b5)

16 years agor14932: ensure that we send a NOTIFY_ACTION_OLD_NAME and
Andrew Tridgell [Thu, 6 Apr 2006 01:54:12 +0000 (01:54 +0000)]
r14932: ensure that we send a NOTIFY_ACTION_OLD_NAME and
NOTIFY_ACTION_NEW_NAME together to the client.
(This used to be commit d58011b0f35c3299f35ba9d72a7b9b9b17253511)

16 years agor14930: Coalesce the "feature enabled" tests so that the config summary always
James Peach [Wed, 5 Apr 2006 23:54:12 +0000 (23:54 +0000)]
r14930: Coalesce the "feature enabled" tests so that the config summary always
emits a yes or a no.
(This used to be commit c31e233a09c34fceee99193ef6f39ff3fabd543e)

16 years agor14929: add some comments
Stefan Metzmacher [Wed, 5 Apr 2006 09:44:20 +0000 (09:44 +0000)]
r14929: add some comments

metze
(This used to be commit 5d40e10d8e5cef542826cd6ebda85cd602a2bf11)

16 years agor14928: demonstrate that the completion filter is only set on the first notify
Andrew Tridgell [Wed, 5 Apr 2006 09:06:09 +0000 (09:06 +0000)]
r14928: demonstrate that the completion filter is only set on the first notify
on a directory handle
(This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821)

16 years agor14927: expand the RAW-NOTIFY test to test recursive and rename handling
Andrew Tridgell [Wed, 5 Apr 2006 08:56:16 +0000 (08:56 +0000)]
r14927: expand the RAW-NOTIFY test to test recursive and rename handling
(This used to be commit e6abb1ecbaa19e8b4627a279e420f8ecdf776e26)

16 years agor14926: change the inotify backend to implement the rather unusual semantics
Andrew Tridgell [Wed, 5 Apr 2006 08:52:55 +0000 (08:52 +0000)]
r14926: change the inotify backend to implement the rather unusual semantics
for rename. The cookies in inotify tell us (indirectly!) if its a
rename between directories or not
(This used to be commit 13574a8d0c7228bf36a6debe4853f693c9f8f543)

16 years agor14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events for
Andrew Tridgell [Wed, 5 Apr 2006 08:52:03 +0000 (08:52 +0000)]
r14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events for
renames, if in the same directory. For renames between directories
generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED
(This used to be commit 2ac248edf05c3ee715165f2b33055de480743e87)

16 years agor14924: when handling recursive change notify, the client expects a windows
Andrew Tridgell [Wed, 5 Apr 2006 08:50:33 +0000 (08:50 +0000)]
r14924: when handling recursive change notify, the client expects a windows
path name back
(This used to be commit ceb85d12f7efb002af7a271f999e22f94b8536fb)