kai/samba-autobuild/.git
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)

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

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

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

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

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

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

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

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

16 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/

metze
(This used to be commit 2bef8208207151dc653c875f12058369c96eb9b0)

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

metze
(This used to be commit 953aa7887b310117a05a59291f3770a9beb5e1eb)

16 years agor14911: Allow easy modification of selftest subdirectory name
Jelmer Vernooij [Tue, 4 Apr 2006 16:23:05 +0000 (16:23 +0000)]
r14911: Allow easy modification of selftest subdirectory name
(This used to be commit 3de7b7fca1265fc465c895e15594659afd179ae5)

16 years agor14910: Remove unused configure options
Jelmer Vernooij [Tue, 4 Apr 2006 16:21:08 +0000 (16:21 +0000)]
r14910: Remove unused configure options
(This used to be commit 3063e5311e137ef9a001216b40f74850c8e8261c)

16 years agor14909: Add lp_modulesdir() smb.conf option
Jelmer Vernooij [Tue, 4 Apr 2006 16:20:32 +0000 (16:20 +0000)]
r14909: Add lp_modulesdir() smb.conf option
(This used to be commit eaa68826d34c2bebc3df5e96aed2102debb67964)

16 years agor14908: Fix LD_LIBRARY_PATH
Jelmer Vernooij [Tue, 4 Apr 2006 15:37:30 +0000 (15:37 +0000)]
r14908: Fix LD_LIBRARY_PATH
(This used to be commit c4668192f96b9b32af23a05f9f97dc87fdc41089)

16 years agor14907: Another attempt at fixing partially generated tables.c files
Jelmer Vernooij [Tue, 4 Apr 2006 15:20:02 +0000 (15:20 +0000)]
r14907: Another attempt at fixing partially generated tables.c files
(This used to be commit 902d90bcb193968c937be9e7b23b6d5ee24b9fec)

16 years agor14906: Move SWIG-specific files to scripting/swig/
Jelmer Vernooij [Tue, 4 Apr 2006 14:39:00 +0000 (14:39 +0000)]
r14906: Move SWIG-specific files to scripting/swig/
(This used to be commit 222723e4434b85748aa82f192c5c4ce136933ce3)

16 years agor14905: Prevent partly generated files when building using heavy parallel make.
Jelmer Vernooij [Tue, 4 Apr 2006 14:38:05 +0000 (14:38 +0000)]
r14905: Prevent partly generated files when building using heavy parallel make.
(This used to be commit 5446ccc20d7468911bd0b4cd0aedf0a67bba20d1)

16 years agor14904: fixed LIBNDR_FLAG_STR_CHARLEN (thanks to Metze for noticing this)
Andrew Tridgell [Tue, 4 Apr 2006 04:16:02 +0000 (04:16 +0000)]
r14904: fixed LIBNDR_FLAG_STR_CHARLEN (thanks to Metze for noticing this)
(This used to be commit 9569bf5374f92815ce1940f752aaff4a6913b4c0)

16 years agor14903: rewrote ndr_push_string() to be much simpler, and correctly handle
Andrew Tridgell [Tue, 4 Apr 2006 02:02:50 +0000 (02:02 +0000)]
r14903: rewrote ndr_push_string() to be much simpler, and correctly handle
UTF8 strings. This should fix the german umlaut problem reported by
michael@drueing.de
(This used to be commit 73ba1215e0c9283296c16f36c91f5a966f3cc9f4)

16 years agor14902: change charcnv code to fail the conversion when it hits bad
Andrew Tridgell [Tue, 4 Apr 2006 02:01:35 +0000 (02:01 +0000)]
r14902: change charcnv code to fail the conversion when it hits bad
characters, rather than silently truncating the string. This makes the
code much omre conservative, making it easier to test. It might mean
users hit problems initially, but at least we'll hear about them, and
thus can fix them.
(This used to be commit bb99cbf069db5ab09ecf6c55e4c87d4c28ea8169)

16 years agor14901: More work on ldb swig interface. Wrap some more functions.
Tim Potter [Tue, 4 Apr 2006 01:22:38 +0000 (01:22 +0000)]
r14901: More work on ldb swig interface.  Wrap some more functions.
(This used to be commit 5b722fcd4b1e194532a86bed84d11d778ae16fcc)

16 years agor14897: Do more error checking of tdb function returns and raise IOError or
Tim Potter [Mon, 3 Apr 2006 22:04:33 +0000 (22:04 +0000)]
r14897: Do more error checking of tdb function returns and raise IOError or
KeyError exceptions as appropriate.

Add a close() function to the wrapper as we can't rely on the
Python garbage collector destroying the object and closing the tdb file
at any particular time.
(This used to be commit a40d6c792257315d1eac955718db5ec1df7e07bb)

16 years agor14894: - add some 'const'
Stefan Metzmacher [Mon, 3 Apr 2006 15:18:12 +0000 (15:18 +0000)]
r14894: - add some 'const'
- remove sid_active_in_token() was the same as security_token_has_sid()
- rename some functions

metze
(This used to be commit 81390dcda50f53d61e70059fb33014de0d283dc5)

16 years agor14891: fix a bug found by the ibm checker
Stefan Metzmacher [Mon, 3 Apr 2006 14:39:46 +0000 (14:39 +0000)]
r14891: fix a bug found by the ibm checker

the problem was that we shift with <<= (privilege-1)

and we called the function with privilege=0

add some checks to catch invalid privilege values
and hide the mask representation in privilege.c

metze
(This used to be commit a69f000324764bcd4cf420f2ecba1aca788258e4)

16 years agor14890: fix the usage of popt...
Stefan Metzmacher [Mon, 3 Apr 2006 14:02:53 +0000 (14:02 +0000)]
r14890: fix the usage of popt...

I don't know why this causes problems on my laptop today...

anyway we have done this change in smbtorture month ago...

metze
(This used to be commit ad84a69db276e3a655b2dc477214bbe0ed68411a)

16 years agor14881: Unpack ldb_message_element and ldb_val arrays. Python can now access
Tim Potter [Mon, 3 Apr 2006 09:26:38 +0000 (09:26 +0000)]
r14881: Unpack ldb_message_element and ldb_val arrays.  Python can now access
all parts of a ldb_result:

@BASEINFO has 2 elements
        elt[0]: val[0]: sequenceNumber = 2
        elt[1]: val[0]: distinguishedName = @BASEINFO
name=foo has 2 elements
        elt[0]: val[0]: foo = bar
        elt[1]: val[0]: distinguishedName = name=foo

Cleanup some swig junk that was only necessary when including config.h
and function prototypes that used the PRINTF_ATTRIBUTE() macro.

Add some more comments.
(This used to be commit 9327fd07d67da1845a60ccf2b7d1d43e9aed0d68)

16 years agor14880: Doc.
Tim Potter [Mon, 3 Apr 2006 09:18:34 +0000 (09:18 +0000)]
r14880: Doc.
(This used to be commit 73b233ee1b7e25ec74c1764804690c6faab75fd0)

16 years agor14879: Fix bug unpacking ldb_messages.
Tim Potter [Mon, 3 Apr 2006 08:25:03 +0000 (08:25 +0000)]
r14879: Fix bug unpacking ldb_messages.

Start decoding more of ldb_message and ldb_message_result.
(This used to be commit 60f7f14baa7ff212138ac2349b94d56918566f73)

16 years agor14878: Write swig wrappers for ldb_init() and ldb_connect().
Tim Potter [Mon, 3 Apr 2006 08:03:44 +0000 (08:03 +0000)]
r14878: Write swig wrappers for ldb_init() and ldb_connect().

Start wrapper for ldb_search().  Currently it returns a list of swig
ldb_message objects.  More unpacking of results required.
(This used to be commit 704787978aa705edba233249e8eab236ffe303a4)

16 years agor14877: added support for the kernel inotify mechanism. This passes basic
Andrew Tridgell [Mon, 3 Apr 2006 06:46:55 +0000 (06:46 +0000)]
r14877: added support for the kernel inotify mechanism. This passes basic
tests, but still needs some more work to ensure we correctly cope with
events that may generate both a system inotify event and a internal
notify event. The system inotify events won't handle recursion, and
don't understand things like streams.

This also adds the ntvfs/sysdep/ directory, which is meant for system
dependent code that is not tied to a particular ntvfs backend. The
inotify code is a good example of that.
(This used to be commit eadadbb44adb3c4081d6ff1d85a9b850a0227059)

16 years agor14876: added ENOSYS to unix error mapping
Andrew Tridgell [Mon, 3 Apr 2006 06:43:30 +0000 (06:43 +0000)]
r14876: added ENOSYS to unix error mapping
(This used to be commit 77f32a273541afcd07f6da8a26315bf21ea05c51)

16 years agor14875: Make better use of the build system
Jelmer Vernooij [Mon, 3 Apr 2006 00:51:28 +0000 (00:51 +0000)]
r14875: Make better use of the build system
(This used to be commit 12429bb66f0f038f1a02932c012c9e9caae6d38c)

16 years agor14874: Allow overriding LIBRARY_REALNAME
Jelmer Vernooij [Mon, 3 Apr 2006 00:46:17 +0000 (00:46 +0000)]
r14874: Allow overriding LIBRARY_REALNAME
(This used to be commit 8f57c0e7bcd99556ba83497ce17b6723a637ac76)

16 years agor14873: Add skeleton swig ldb interface.
Tim Potter [Mon, 3 Apr 2006 00:24:59 +0000 (00:24 +0000)]
r14873: Add skeleton swig ldb interface.
(This used to be commit c6c759e19f7fb9232d9c97b66d140c1bb0876dff)

16 years agor14871: We don't need to import UserDict anymore.
Tim Potter [Mon, 3 Apr 2006 00:20:04 +0000 (00:20 +0000)]
r14871: We don't need to import UserDict anymore.
(This used to be commit c60a2335383eb277a82dbe073ce9b58f8abf0241)

16 years agor14870: Update to link with dynamic instead of static objects.
Tim Potter [Mon, 3 Apr 2006 00:13:47 +0000 (00:13 +0000)]
r14870: Update to link with dynamic instead of static objects.
(This used to be commit 20d68c60b7b7dce1f4f82cb6d3af9431a0660854)

16 years agor14867: Include <stdbool.h> in external compiles
Jelmer Vernooij [Sun, 2 Apr 2006 16:26:02 +0000 (16:26 +0000)]
r14867: Include <stdbool.h> in external compiles
(This used to be commit 03224dab111b931effd548586e630480fa1423b1)

16 years agor14866: Fix CFLAGS when building compile_et. This should fix the build
Jelmer Vernooij [Sun, 2 Apr 2006 14:43:15 +0000 (14:43 +0000)]
r14866: Fix CFLAGS when building compile_et. This should fix the build
on some of the buildfarm hosts. Thanks to Richard Bollinger <rabollinger@gmail.com> for helping debug this.
(This used to be commit ab0c2ede27550f400c1ffb8fc1adbeddb477468e)

16 years agor14861: regenerate the proto headers when the .mk file changes
Stefan Metzmacher [Sun, 2 Apr 2006 12:24:43 +0000 (12:24 +0000)]
r14861: regenerate the proto headers when the .mk file changes

metze
(This used to be commit e167ce935a5e0c8f859dc2b1fef859418ab9edfb)

16 years agor14860: create libcli/security/security.h
Stefan Metzmacher [Sun, 2 Apr 2006 12:02:01 +0000 (12:02 +0000)]
r14860: create libcli/security/security.h

metze
(This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)

16 years agor14859: fix bugs noticed by the ibm code checker
Stefan Metzmacher [Sun, 2 Apr 2006 11:19:21 +0000 (11:19 +0000)]
r14859: fix bugs noticed by the ibm code checker

metze
(This used to be commit afa8f944a7c572becd011b8c248eef13d7495ac7)

16 years agor14858: fix bugs noticed by the ibm code checker
Stefan Metzmacher [Sun, 2 Apr 2006 11:18:34 +0000 (11:18 +0000)]
r14858: fix bugs noticed by the ibm code checker

metze
(This used to be commit 152e7e3d024cbc1ae60f8595507d39b647551a71)

16 years agor14857: fix bugs noticed by the ibm code checker
Stefan Metzmacher [Sun, 2 Apr 2006 11:17:07 +0000 (11:17 +0000)]
r14857: fix bugs noticed by the ibm code checker

metze
(This used to be commit 07626bf3c7dc7162b852cc27e5a7c313ede3862a)

16 years agor14856: fix bugs noticed by the ibm code checker
Stefan Metzmacher [Sun, 2 Apr 2006 11:15:59 +0000 (11:15 +0000)]
r14856: fix bugs noticed by the ibm code checker

metze
(This used to be commit f72e7d9dcd02f1f983b457163dee0a8df0186c79)

16 years agor14854: Finish off swig wrapper and torture tests for tdb.
Tim Potter [Sun, 2 Apr 2006 01:56:22 +0000 (01:56 +0000)]
r14854: Finish off swig wrapper and torture tests for tdb.
(This used to be commit 1c4042e23f3e99f95133313607e2c2904503cf74)

16 years agor14852: See if all target platforms support multiple .SUFFIXES lines.
Jelmer Vernooij [Sat, 1 Apr 2006 18:41:07 +0000 (18:41 +0000)]
r14852: See if all target platforms support multiple .SUFFIXES lines.
(This used to be commit 137ed99e3527c5240533d59b6b98d1f01a849046)

16 years agor14851: Make BOOL, False and True simple aliases to the POSIX-defined
Jelmer Vernooij [Sat, 1 Apr 2006 18:26:30 +0000 (18:26 +0000)]
r14851: Make BOOL, False and True simple aliases to the POSIX-defined
bool, false and true (guaranteed to be defined by lib/replace)
(This used to be commit 53fa1bdb6e0ea134c4d688e7cf3237fd25c2cc76)

16 years agor14850: Don't assume that sizeof(BOOL) == sizeof(int)
Jelmer Vernooij [Sat, 1 Apr 2006 18:25:07 +0000 (18:25 +0000)]
r14850: Don't assume that sizeof(BOOL) == sizeof(int)
(This used to be commit 1557e1ba6f3576dcd28cb7f05ba97df7b549ba52)

16 years agor14848: use the constant instead of the interger value
Stefan Metzmacher [Sat, 1 Apr 2006 08:12:49 +0000 (08:12 +0000)]
r14848: use the constant instead of the interger value

metze
(This used to be commit 6386fd69303f8a2362c3b967796010ded798511e)

16 years agor14845: expanded the number of info levels tested for continue in the
Andrew Tridgell [Sat, 1 Apr 2006 03:46:46 +0000 (03:46 +0000)]
r14845: expanded the number of info levels tested for continue in the
RAW-SEARCH test
(This used to be commit a3e7640730b756392afce4ec1b69eda0bf044e3f)

16 years agor14844: Support a stdbool.h replacement in lib/replace/
Jelmer Vernooij [Fri, 31 Mar 2006 23:28:18 +0000 (23:28 +0000)]
r14844: Support a stdbool.h replacement in lib/replace/
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)

16 years agor14843: the results of the srvsrv_* calls depends on the user,
Stefan Metzmacher [Fri, 31 Mar 2006 13:41:49 +0000 (13:41 +0000)]
r14843: the results of the srvsrv_* calls depends on the user,
try some tests anonymous...

metze
(This used to be commit eb63d83f007e374f77ff63b3d7b81f187260c8fa)

16 years agor14842: fix parsing of NetDiskEnum replies
Stefan Metzmacher [Fri, 31 Mar 2006 13:39:28 +0000 (13:39 +0000)]
r14842: fix parsing of NetDiskEnum replies

metze
(This used to be commit c1cc1e8dd764dfada38d4d66063e66fa6982bb0d)

16 years agor14840: - rename some functions
Stefan Metzmacher [Fri, 31 Mar 2006 11:05:33 +0000 (11:05 +0000)]
r14840: - rename some functions
- stack specific functions on top of generic ones

metze
(This used to be commit e391f3c98aae600c5f64d5975dd55567a09c3100)

16 years agor14838: fix the build. Looks like I still haven't quite got the hang of the
Andrew Tridgell [Fri, 31 Mar 2006 09:47:57 +0000 (09:47 +0000)]
r14838: fix the build. Looks like I still haven't quite got the hang of the
new dependency/proto system :-)
(This used to be commit 63ae3f21e3471895ba83df1c2fdc4147090f7fdb)

16 years agor14837: fixed build error
Andrew Tridgell [Fri, 31 Mar 2006 05:33:35 +0000 (05:33 +0000)]
r14837: fixed build error
(This used to be commit 23724bfd24b051c4096ac49c52c2cd31389340be)

16 years agor14836: Keep constants in the right order, and line things up nicely.
Tim Potter [Fri, 31 Mar 2006 03:05:39 +0000 (03:05 +0000)]
r14836: Keep constants in the right order, and line things up nicely.
(This used to be commit 9c11c1ac2a9d5a6cae490fa7a2005700271d53f3)

16 years agor14835: split out the config rules for the ntvfs/common/ directory
Andrew Tridgell [Fri, 31 Mar 2006 03:02:39 +0000 (03:02 +0000)]
r14835: split out the config rules for the ntvfs/common/ directory
(This used to be commit 33495d19cf0263f6df5ec935f51c68bde84b1d01)

16 years agor14826: initialize pid1 and pid2:-)
Stefan Metzmacher [Thu, 30 Mar 2006 15:47:41 +0000 (15:47 +0000)]
r14826: initialize pid1 and pid2:-)

metze
(This used to be commit 45e28329723c15c1ba6b8420cd3689cd03613de7)

16 years agor14822: if we use the snum used by the lp_* functions instead of the wire TID,
Stefan Metzmacher [Thu, 30 Mar 2006 13:56:25 +0000 (13:56 +0000)]
r14822: if we use the snum used by the lp_* functions instead of the wire TID,
then don't use tid as name...

metze
(This used to be commit d41d48caf209fec9f5f04d38d75277b1cfeed22f)

16 years agor14819: list all tests smbtorture offers and explicit list tests
Stefan Metzmacher [Thu, 30 Mar 2006 12:35:25 +0000 (12:35 +0000)]
r14819: list all tests smbtorture offers and explicit list tests
for skipping

metze
(This used to be commit 127fe33c460ff77c53ad53728782bdb119bcdfb4)

16 years agor14818: give an error on an unknown test
Stefan Metzmacher [Thu, 30 Mar 2006 12:16:25 +0000 (12:16 +0000)]
r14818: give an error on an unknown test

so we catch typos in the make test scripts

metze
(This used to be commit fa73030debe1c216d86622a5380dbe2945f5d1d3)

16 years agor14817: rename some tests
Stefan Metzmacher [Thu, 30 Mar 2006 11:58:46 +0000 (11:58 +0000)]
r14817: rename some tests

tridge: is SCAN-EAMAX ok?

metze
(This used to be commit d8529ec2ee079d4ff17681a5d35d260fd3313e88)

16 years agor14816: Simplify test for comparison_fn_t
Jelmer Vernooij [Thu, 30 Mar 2006 11:20:47 +0000 (11:20 +0000)]
r14816: Simplify test for comparison_fn_t
(This used to be commit 594215d1176b23596549fd4e4098d42ef41f7d0d)

16 years agor14815: BASE-DIR doesn't exists...
Stefan Metzmacher [Thu, 30 Mar 2006 11:07:17 +0000 (11:07 +0000)]
r14815: BASE-DIR doesn't exists...

metze
(This used to be commit 711df01cc82037b47f750572387accbf28d10bfc)

16 years agor14814: also run the BASE-DIR test with 'make test'
Stefan Metzmacher [Thu, 30 Mar 2006 10:53:40 +0000 (10:53 +0000)]
r14814: also run the BASE-DIR test with 'make test'

metze
(This used to be commit b52baadf2233335f5f92b4e08b7f1c2dfd0d764f)

16 years agor14813: Remove headers already checked for earlier or not used.
Jelmer Vernooij [Thu, 30 Mar 2006 10:46:36 +0000 (10:46 +0000)]
r14813: Remove headers already checked for earlier or not used.
(This used to be commit bd803fc9803451e0030d292ece57a56614085688)

16 years agor14812: Fix typos
Jelmer Vernooij [Thu, 30 Mar 2006 10:29:41 +0000 (10:29 +0000)]
r14812: Fix typos
(This used to be commit 354326a718d490e49d760ae62e583612479fa706)

16 years agor14808: added notify_trigger() calls for rename and setfileinfo calls
Andrew Tridgell [Thu, 30 Mar 2006 09:24:31 +0000 (09:24 +0000)]
r14808: added notify_trigger() calls for rename and setfileinfo calls
(This used to be commit adb4ea32e2d5506cb213ea4c0715918042fba084)

16 years agor14807: fixed the format of notify responses (forgot to commit this earlier)
Andrew Tridgell [Thu, 30 Mar 2006 08:44:28 +0000 (08:44 +0000)]
r14807: fixed the format of notify responses (forgot to commit this earlier)
(This used to be commit fb91a37e926963acfc90fe276a33c7a329a023e8)

16 years agor14806: Fix compiler warnings
Jelmer Vernooij [Thu, 30 Mar 2006 08:31:39 +0000 (08:31 +0000)]
r14806: Fix compiler warnings
(This used to be commit b38a83407717b760c8a7aa3715ab3ca7f637c611)

16 years agor14805: use tdb_lock_bystring() to prevent race conditions in notify add/remove
Andrew Tridgell [Thu, 30 Mar 2006 06:07:38 +0000 (06:07 +0000)]
r14805: use tdb_lock_bystring() to prevent race conditions in notify add/remove
(This used to be commit a6be44f78ca2eaecbf0b6d8598addba5a11ae966)

16 years agor14804: Start writing a more Pythonic tdb module.
Tim Potter [Thu, 30 Mar 2006 05:50:09 +0000 (05:50 +0000)]
r14804: Start writing a more Pythonic tdb module.
(This used to be commit 4c9af9c1495e0582de8353709d7b79b731a7fc75)

16 years agor14803: copy with the root directory, which has /. on the end of the path
Andrew Tridgell [Thu, 30 Mar 2006 05:45:43 +0000 (05:45 +0000)]
r14803: copy with the root directory, which has /. on the end of the path
(This used to be commit 16742cd28621d205f21c855e5635be1dfc3f2b69)

16 years agor14802: Fix typo.
Tim Potter [Thu, 30 Mar 2006 05:36:09 +0000 (05:36 +0000)]
r14802: Fix typo.
(This used to be commit 757805f02050a6023ff728c28e2f79d00f277f6f)

16 years agor14801: Move swig testing makefile fragment into swig's config.mk and out of
Tim Potter [Thu, 30 Mar 2006 05:24:37 +0000 (05:24 +0000)]
r14801: Move swig testing makefile fragment into swig's config.mk and out of
main.mk
(This used to be commit 3721072fc531df2ffdc9ae323aa2e4e3d0fc58b7)

16 years agor14800: use tdb_get_seqnum() in the change notify code to avoid reloading the
Andrew Tridgell [Thu, 30 Mar 2006 04:55:03 +0000 (04:55 +0000)]
r14800: use tdb_get_seqnum() in the change notify code to avoid reloading the
notify record if the tdb has not changed. This makes the
notify_trigger() call much faster, which is important as it is called
on just about every file operation
(This used to be commit d09b8761bfda7dfbb4c7a5c4a4f4359ba01923a3)

16 years agor14799: added a tdb_get_seqnum() call, and the TDB_SEQNUM flag. This allows
Andrew Tridgell [Thu, 30 Mar 2006 04:52:39 +0000 (04:52 +0000)]
r14799: added a tdb_get_seqnum() call, and the TDB_SEQNUM flag. This allows
for an extremely lightweight test to see if a tdb has possibly
changed.
(This used to be commit f325ba605ccceca63712c0f2c98961e35e437b3d)

16 years agor14798: Get swig building again (by commenting out dcerpc stuff for now).
Tim Potter [Thu, 30 Mar 2006 04:39:37 +0000 (04:39 +0000)]
r14798: Get swig building again (by commenting out dcerpc stuff for now).

Add the start of a test framework for swigged functionality.
(This used to be commit 3dfd0959f78518c021417f3f1158c51d70a1e88c)

16 years agor14797: added checking of the filter in notify requests
Andrew Tridgell [Thu, 30 Mar 2006 03:51:49 +0000 (03:51 +0000)]
r14797: added checking of the filter in notify requests
(This used to be commit 1db0a5a7f4c1ff915d91bc15d8e40cc90a78961d)

16 years agor14796: handle overflows in the notify buffer. The pending events are dumped
Andrew Tridgell [Thu, 30 Mar 2006 03:14:38 +0000 (03:14 +0000)]
r14796: handle overflows in the notify buffer. The pending events are dumped
and the notify buffer removed
(This used to be commit a4c0e23f9dc5049e7d6df3bf3d3ee694f715ce05)

16 years agor14795: queue notify requests on the same handle
Andrew Tridgell [Thu, 30 Mar 2006 02:25:38 +0000 (02:25 +0000)]
r14795: queue notify requests on the same handle
(This used to be commit c976f14a9f397802946a9bb36394fe4c27bf3caf)

16 years agor14794: added a test to see what happens when you send a notify request on a
Andrew Tridgell [Thu, 30 Mar 2006 02:25:04 +0000 (02:25 +0000)]
r14794: added a test to see what happens when you send a notify request on a
handle that already has a notify request pending. It turns out that
they are queued
(This used to be commit 15e9302bcd20a91446b19033333b743f1d257a66)

16 years agor14793: the RAW-NOTIFY test now passes. Next I need to make it efficient, and
Andrew Tridgell [Thu, 30 Mar 2006 02:06:06 +0000 (02:06 +0000)]
r14793: the RAW-NOTIFY test now passes. Next I need to make it efficient, and
add the hooks in all the other places
(This used to be commit d1937589029ac2a75d15f006685769c44a274a65)

16 years agor14792: when we enable fake oplocks, give out batch oplocks not exclusive oplocks
Andrew Tridgell [Thu, 30 Mar 2006 01:09:46 +0000 (01:09 +0000)]
r14792: when we enable fake oplocks, give out batch oplocks not exclusive oplocks
(This used to be commit 182aee1a213c1219772895deed31e1ed8aed00c4)

16 years agor14755: the change notify code now passes most of the RAW-NOTIFY test. Still
Andrew Tridgell [Wed, 29 Mar 2006 13:31:30 +0000 (13:31 +0000)]
r14755: the change notify code now passes most of the RAW-NOTIFY test. Still
more work to do though
(This used to be commit 4d234b37e528137b5c00f6bbb84c2d6939fea324)

16 years agor14740: Try loading shared libs from the bin/ directory (useful for running 'make...
Jelmer Vernooij [Sun, 26 Mar 2006 12:57:50 +0000 (12:57 +0000)]
r14740: Try loading shared libs from the bin/ directory (useful for running 'make test'
without developer mode)
(This used to be commit 3aafd0902094b7d3ed3c4ebe2c9245e2a86d53ea)

16 years agor14739: keep the last request time for the smbsrv_connection,
Stefan Metzmacher [Sun, 26 Mar 2006 11:32:27 +0000 (11:32 +0000)]
r14739: keep the last request time for the smbsrv_connection,
smbsrv_session and smbsrv_tcon for management tools

metze
(This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)

16 years agor14738: do some different lookups
Stefan Metzmacher [Sun, 26 Mar 2006 10:53:04 +0000 (10:53 +0000)]
r14738: do some different lookups

metze
(This used to be commit f61bd2e9a2b59a3e5c7eded6b4a7075d193c980a)

16 years agor14737: Fix shared library build without --enable-developer
Jelmer Vernooij [Sun, 26 Mar 2006 01:37:31 +0000 (01:37 +0000)]
r14737: Fix shared library build without --enable-developer
(This used to be commit d508382180c586ec0a749883b2c75561732d6f37)

16 years agor14736: - the ntvfs subsystem should not know about smb_server.h
Stefan Metzmacher [Sun, 26 Mar 2006 01:23:40 +0000 (01:23 +0000)]
r14736: - the ntvfs subsystem should not know about smb_server.h
- the process module subsystem should not know about smb_server.h
- the smb_server module should not know about process models

metze
(This used to be commit bac95bb8f4ad35a31ee666f5916ff9b2f292d964)