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

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

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

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

12 years agor15061: Use $(PERL) to run 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 as actual perl binary might not be in /usr/bin
(This used to be commit 7d5a91a667418b18bde9399ffc4c9852c422362a)

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

(This used to be commit ce045f4df37b6740f2bf849fd06ab51c682ea0b7)

12 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)]

(This used to be commit 5c1d96b36f14538360d90afc76ddba59d4feee1b)

12 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

(This used to be commit 7e709fd04dc4fb083bd8b01b3f0fa88b932aa9b7)

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

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

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

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

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

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

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

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

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

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

(This used to be commit 905ca5a3ecd1c4ed5b9f206cdc855d0ddb92a07a)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(This used to be commit 4410d7ea5d356f9a04f419f7254a60c20b1345c0)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(This used to be commit b2f45531544f52b63f61fc8224477e89eb3dca83)

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

(This used to be commit 193f7da254cce40ab30fda9e99b8cd07e0b0a0a8)

12 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

(This used to be commit ed657b840317ac2fa0aebfb7c40cec45c7c3485a)

12 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

(This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)

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

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

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

(This used to be commit c136191870f91d4ce652da535a1cd52f4772574d)

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

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

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

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

12 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
(This used to be commit 16fd00925fdbf77e7a403ad501bf6ea429404c76)

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

12 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

(This used to be commit 4d7de8b251e006a469adf2793dae422e128844c5)

12 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

(This used to be commit 2488ead8c3431be3014012a05de4ee57ff13aa93)

12 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 we
can delete these again.
(This used to be commit dca9003ec27747cf7a584ee67fd222ab22601494)

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

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

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

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

12 years agor14944: pass any error of build/smb_build/ 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/ to the caller of ./config.status

(This used to be commit 977df5f44303b1b80474386a437dd95e62308458)

12 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
(This used to be commit 74c274ea072fc45debaafd438ff63321b38a1448)

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

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

12 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

(This used to be commit 03906b2b13c000ad9683f6bb1e336075655e1367)

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

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

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

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

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

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

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

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

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

(This used to be commit 5d40e10d8e5cef542826cd6ebda85cd602a2bf11)

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

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

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

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

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

12 years agor14921: I forgot to commit the IDL change for the subdir_filter
Andrew Tridgell [Wed, 5 Apr 2006 06:25:32 +0000 (06:25 +0000)]
r14921: I forgot to commit the IDL change for the subdir_filter
(This used to be commit af92520097bf817dca6e6ec8eab39b46388d048f)

12 years agor14920: allow a notify backend to separately specify if it has handled the
Andrew Tridgell [Wed, 5 Apr 2006 05:54:10 +0000 (05:54 +0000)]
r14920: allow a notify backend to separately specify if it has handled the
given mask for the current directory and sub-directories. This allows
us to setup the less efficient internal handling for subdirectories,
while using the kernel inotify service for the current directory if
available. It also allows inotify to handle only some of the filter
bits, leaving the other filter bits for the user space handler.
(This used to be commit 7c3d989fa44c7f57853a825337159f476d7dff80)

12 years agor14919: disable the BASE-DEFER_OPEN test until it gets fixed (it sleeps for
Andrew Tridgell [Wed, 5 Apr 2006 05:05:49 +0000 (05:05 +0000)]
r14919: disable the BASE-DEFER_OPEN test until it gets fixed (it sleeps for
way too long). Jeremy, whats the idea behind those long sleeps?

its also redundent, as the RAW-MUX test already tests the sharing
violation open delay
(This used to be commit d63d113c8aaa0104ab23380533dbc081c1ab0898)

12 years agor14918: cleaner handling of systems without inotify
Andrew Tridgell [Wed, 5 Apr 2006 04:50:08 +0000 (04:50 +0000)]
r14918: cleaner handling of systems without inotify
(This used to be commit cf17ff15b15942f0ce068dd0a94b3b565a9b93cb)

12 years agor14917: fixed length strings don't count any trailing nulls in the length
Andrew Tridgell [Wed, 5 Apr 2006 04:44:13 +0000 (04:44 +0000)]
r14917: fixed length strings don't count any trailing nulls in the length
(This used to be commit 28d9a4d1a7aab0852f7f718621830f06cd7ff39b)

12 years agor14916: print errno so I can work out why OpenBSD is failing the test for tdb
Andrew Tridgell [Wed, 5 Apr 2006 03:51:43 +0000 (03:51 +0000)]
r14916: print errno so I can work out why OpenBSD is failing the test for tdb
in the build farm. msync() is failing.
(This used to be commit 4c3f3c414135c2b8fa9ea11a156246b56285b84f)

12 years agor14915: Work in progress - getting ldb_add() working.
Tim Potter [Tue, 4 Apr 2006 22:15:27 +0000 (22:15 +0000)]
r14915: Work in progress - getting ldb_add() working.
(This used to be commit d50661ed4ef3f6c96811649a1acbe5d702e80654)

12 years agor14914: Remove printf statement I accidently committed.
Jelmer Vernooij [Tue, 4 Apr 2006 17:48:53 +0000 (17:48 +0000)]
r14914: Remove printf statement I accidently committed.
(This used to be commit ca4d1b4c0e1a18c2b071f49076251369370a785c)

12 years agor14913: readd --with-selftest-prefix as it's needed
Stefan Metzmacher [Tue, 4 Apr 2006 17:10:07 +0000 (17:10 +0000)]
r14913: readd --with-selftest-prefix as it's needed
to workarround the 108 char limitation on unix socket paths.

make test fails when I try to use ./st
in /home/People/metze/devel/samba/4.0/samba4-ci/source/

(This used to be commit 2bef8208207151dc653c875f12058369c96eb9b0)

12 years agor14912: don't crash if inotify isn't present...
Stefan Metzmacher [Tue, 4 Apr 2006 16:58:28 +0000 (16:58 +0000)]
r14912: don't crash if inotify isn't present...

(This used to be commit 953aa7887b310117a05a59291f3770a9beb5e1eb)