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

metze
(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...

metze
(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_

metze
(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

metze
(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

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

metze
(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
notify:enable=False
(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
notifies
(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

metze
(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

metze
(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 samba.org 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
backend
(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/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)

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
semantics
(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

metze
(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
disconnect
(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

metze
(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
generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED
(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/

metze
(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...

metze
(This used to be commit 953aa7887b310117a05a59291f3770a9beb5e1eb)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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