Jelmer Vernooij [Sat, 8 Apr 2006 15:26:59 +0000 (15:26 +0000)]
r14998: Remove unused autoconf test, move others to proper places
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.
Jelmer Vernooij [Sat, 8 Apr 2006 14:48:04 +0000 (14:48 +0000)]
r14996: Fix compilation of gencache
Jelmer Vernooij [Sat, 8 Apr 2006 14:26:32 +0000 (14:26 +0000)]
r14995: Avoid parallel builds unless there is support for automatic dependencies.
Jelmer Vernooij [Sat, 8 Apr 2006 13:53:11 +0000 (13:53 +0000)]
r14993: Make subsystems again
Jelmer Vernooij [Sat, 8 Apr 2006 13:44:40 +0000 (13:44 +0000)]
r14992: Allow load_module() to be used externally
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.
Stefan Metzmacher [Sat, 8 Apr 2006 07:54:15 +0000 (07:54 +0000)]
r14990: talloc_reference() can fail
metze
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
Andrew Tridgell [Sat, 8 Apr 2006 03:00:12 +0000 (03:00 +0000)]
r14983: fix an uninitialised var
Andrew Tridgell [Sat, 8 Apr 2006 02:58:54 +0000 (02:58 +0000)]
r14982: mark a deliberate missing break
Andrew Tridgell [Sat, 8 Apr 2006 02:58:36 +0000 (02:58 +0000)]
r14981: fixed a use of a wild ptr in regshell
Andrew Tridgell [Sat, 8 Apr 2006 02:55:16 +0000 (02:55 +0000)]
r14980: fixed several IBM checker errors in gentest and masktest
Andrew Tridgell [Sat, 8 Apr 2006 02:49:44 +0000 (02:49 +0000)]
r14979: avoid a null ptr deref
Andrew Tridgell [Sat, 8 Apr 2006 02:47:42 +0000 (02:47 +0000)]
r14978: fixed a print of NULL
Andrew Tridgell [Sat, 8 Apr 2006 02:44:37 +0000 (02:44 +0000)]
r14977: more IBM checker fixes
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
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
Andrew Tridgell [Sat, 8 Apr 2006 02:35:00 +0000 (02:35 +0000)]
r14974: work around an ibm checker bug
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)
Andrew Tridgell [Sat, 8 Apr 2006 02:29:48 +0000 (02:29 +0000)]
r14972: fix an uninitialised warning from ibm checker
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.
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.
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)
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.
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
Stefan Metzmacher [Fri, 7 Apr 2006 14:14:27 +0000 (14:14 +0000)]
r14966: make more functions _PUBLIC_
metze
Stefan Metzmacher [Fri, 7 Apr 2006 14:13:31 +0000 (14:13 +0000)]
r14965: the unixinfo pipe need the sidmap code from SAMDB
metze
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
Andrew Tridgell [Fri, 7 Apr 2006 12:32:51 +0000 (12:32 +0000)]
r14963: check talloc returns
Andrew Tridgell [Fri, 7 Apr 2006 12:19:29 +0000 (12:19 +0000)]
r14962: fixed a valgrind error
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
Andrew Tridgell [Fri, 7 Apr 2006 11:44:55 +0000 (11:44 +0000)]
r14960: don't declare variables mid-function
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
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
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
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
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.
Stefan Metzmacher [Thu, 6 Apr 2006 13:51:44 +0000 (13:51 +0000)]
r14951: - remove unused var 'path'
- fix compiler warning
metze
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
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.
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
Andrew Tridgell [Thu, 6 Apr 2006 11:07:21 +0000 (11:07 +0000)]
r14947: add support for file truncate events
Andrew Tridgell [Thu, 6 Apr 2006 11:06:28 +0000 (11:06 +0000)]
r14946: added a smbcli_ftruncate() call, useful for torture testing
Andrew Tridgell [Thu, 6 Apr 2006 10:12:36 +0000 (10:12 +0000)]
r14945: allow the notify backend to be specified per share
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
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
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).
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.
Stefan Metzmacher [Thu, 6 Apr 2006 09:15:17 +0000 (09:15 +0000)]
r14939: don't use a void pointer
metze
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.
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
Andrew Tridgell [Thu, 6 Apr 2006 02:02:41 +0000 (02:02 +0000)]
r14936: remove a duplicate line
Andrew Tridgell [Thu, 6 Apr 2006 02:01:37 +0000 (02:01 +0000)]
r14935: try to avoid a race condition in the recursion test
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.
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.
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.
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.
Stefan Metzmacher [Wed, 5 Apr 2006 09:44:20 +0000 (09:44 +0000)]
r14929: add some comments
metze
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
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
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
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
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
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
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.
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
Andrew Tridgell [Wed, 5 Apr 2006 04:50:08 +0000 (04:50 +0000)]
r14918: cleaner handling of systems without inotify
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
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.
Tim Potter [Tue, 4 Apr 2006 22:15:27 +0000 (22:15 +0000)]
r14915: Work in progress - getting ldb_add() working.
Jelmer Vernooij [Tue, 4 Apr 2006 17:48:53 +0000 (17:48 +0000)]
r14914: Remove printf statement I accidently committed.
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
Stefan Metzmacher [Tue, 4 Apr 2006 16:58:28 +0000 (16:58 +0000)]
r14912: don't crash if inotify isn't present...
metze
Jelmer Vernooij [Tue, 4 Apr 2006 16:23:05 +0000 (16:23 +0000)]
r14911: Allow easy modification of selftest subdirectory name
Jelmer Vernooij [Tue, 4 Apr 2006 16:21:08 +0000 (16:21 +0000)]
r14910: Remove unused configure options
Jelmer Vernooij [Tue, 4 Apr 2006 16:20:32 +0000 (16:20 +0000)]
r14909: Add lp_modulesdir() smb.conf option
Jelmer Vernooij [Tue, 4 Apr 2006 15:37:30 +0000 (15:37 +0000)]
r14908: Fix LD_LIBRARY_PATH
Jelmer Vernooij [Tue, 4 Apr 2006 15:20:02 +0000 (15:20 +0000)]
r14907: Another attempt at fixing partially generated tables.c files
Jelmer Vernooij [Tue, 4 Apr 2006 14:39:00 +0000 (14:39 +0000)]
r14906: Move SWIG-specific files to scripting/swig/
Jelmer Vernooij [Tue, 4 Apr 2006 14:38:05 +0000 (14:38 +0000)]
r14905: Prevent partly generated files when building using heavy parallel make.
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)
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
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.
Tim Potter [Tue, 4 Apr 2006 01:22:38 +0000 (01:22 +0000)]
r14901: More work on ldb swig interface. Wrap some more functions.
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.
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
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
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
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.
Tim Potter [Mon, 3 Apr 2006 09:18:34 +0000 (09:18 +0000)]
r14880: Doc.
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.
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.
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.
Andrew Tridgell [Mon, 3 Apr 2006 06:43:30 +0000 (06:43 +0000)]
r14876: added ENOSYS to unix error mapping
Jelmer Vernooij [Mon, 3 Apr 2006 00:51:28 +0000 (00:51 +0000)]
r14875: Make better use of the build system
Jelmer Vernooij [Mon, 3 Apr 2006 00:46:17 +0000 (00:46 +0000)]
r14874: Allow overriding LIBRARY_REALNAME
Tim Potter [Mon, 3 Apr 2006 00:24:59 +0000 (00:24 +0000)]
r14873: Add skeleton swig ldb interface.
Tim Potter [Mon, 3 Apr 2006 00:20:04 +0000 (00:20 +0000)]
r14871: We don't need to import UserDict anymore.
Tim Potter [Mon, 3 Apr 2006 00:13:47 +0000 (00:13 +0000)]
r14870: Update to link with dynamic instead of static objects.