Tim Potter [Sun, 16 Apr 2006 06:05:33 +0000 (06:05 +0000)]
r15097: Add constants for ldb errors.
Add wrappers for ldb_dn_explode() and ldb_dn_linearize().
Tim Potter [Sun, 16 Apr 2006 06:02:13 +0000 (06:02 +0000)]
r15096: Fix typo.
Tim Potter [Sun, 16 Apr 2006 03:46:05 +0000 (03:46 +0000)]
r15095: Fix up typemap for struct ldb_val so that ldb_msg_add_value() wrapper
works properly.
Tim Potter [Sat, 15 Apr 2006 10:13:09 +0000 (10:13 +0000)]
r15092: Remove some swig stuff that didn't work out and the %rename call.
Add wrappers for some of the ldb_msg_* functions.
Tim Potter [Sat, 15 Apr 2006 10:10:23 +0000 (10:10 +0000)]
r15091: Raise LdbError instead of IOError when ldb function calls return an
error.
Tim Potter [Sat, 15 Apr 2006 07:44:06 +0000 (07:44 +0000)]
r15090: Since we wrap the swig wrapper in another layer of Python, there isn't
much point in doing lots of %rename calls in tdb.i so get rid of them.
Volker Lendecke [Fri, 14 Apr 2006 20:36:36 +0000 (20:36 +0000)]
r15087: Quick stress test that does more or less what the tool "iometer" does.
Volker
Stefan Metzmacher [Thu, 13 Apr 2006 13:53:27 +0000 (13:53 +0000)]
r15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
desired but SeSecurityPrivilege isn't granted
metze
Stefan Metzmacher [Thu, 13 Apr 2006 12:59:41 +0000 (12:59 +0000)]
r15078: add TODO about setting the full ACL with an NTTRANS_CREATE
metze
Stefan Metzmacher [Thu, 13 Apr 2006 12:17:12 +0000 (12:17 +0000)]
r15077: map SID_BUILTIN_USERS
metze
Stefan Metzmacher [Thu, 13 Apr 2006 12:13:40 +0000 (12:13 +0000)]
r15076: give the correct return code
metze
Stefan Metzmacher [Thu, 13 Apr 2006 12:03:05 +0000 (12:03 +0000)]
r15071: fix typo
metze
Stefan Metzmacher [Thu, 13 Apr 2006 11:37:44 +0000 (11:37 +0000)]
r15070: test the needed access masks for read/write the different
security descriptor components
metze
Stefan Metzmacher [Thu, 13 Apr 2006 11:34:39 +0000 (11:34 +0000)]
r15069: - don't crash on a NULL acl
- add the correct access checks for changing sd->group and sd->dacl
metze
Stefan Metzmacher [Thu, 13 Apr 2006 09:00:38 +0000 (09:00 +0000)]
r15066: - sync the dir_flags tests with the file_flags tests
- add some more checks for the w2k3 bug case
metze
Tim Potter [Thu, 13 Apr 2006 04:19:27 +0000 (04:19 +0000)]
r15065: Remove duplicate prototype.
Alexander Bokovoy [Thu, 13 Apr 2006 04:14:18 +0000 (04:14 +0000)]
r15064: Remove the change until I find proper solution
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
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
Alexander Bokovoy [Thu, 13 Apr 2006 03:09:14 +0000 (03:09 +0000)]
r15061: Use $(PERL) to run cflags.pl as actual perl binary might not be in /usr/bin
Stefan Metzmacher [Wed, 12 Apr 2006 16:27:53 +0000 (16:27 +0000)]
r15057: fix access masks for getting and setting security_descriptors
I'll add some torture tests later...
metze
Stefan Metzmacher [Wed, 12 Apr 2006 16:19:42 +0000 (16:19 +0000)]
r15056: w2k3 gives NT_STATUS_ACCESS_DENIED instead of NT_STATUS_ACCESS_VIOLATION
metze
Stefan Metzmacher [Wed, 12 Apr 2006 15:52:17 +0000 (15:52 +0000)]
r15055: this was my version for the crash bug in the messaging code...
it also makes the function a bit shorter and clearer,
as the tmp msg_types only have one handler and not a list
metze
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
Alexander Bokovoy [Wed, 12 Apr 2006 12:28:22 +0000 (12:28 +0000)]
r15051: Remove directory creation from this rule; we use script/buildtree.pl for external build dir instead
Andrew Tridgell [Wed, 12 Apr 2006 09:38:07 +0000 (09:38 +0000)]
r15050: fixed a double free in the new messaging code.
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.
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.
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
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
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.
Andrew Tridgell [Tue, 11 Apr 2006 01:19:20 +0000 (01:19 +0000)]
r15029: fixed the detection of inotify
Rafal Szczesniak [Mon, 10 Apr 2006 22:03:26 +0000 (22:03 +0000)]
r15021: Couple more comments and fixes in spirit of utility functions
for composite interface.
rafal
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.
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
Andrew Tridgell [Mon, 10 Apr 2006 05:12:49 +0000 (05:12 +0000)]
r15015: add an explanation for this test
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
Jelmer Vernooij [Sat, 8 Apr 2006 17:19:32 +0000 (17:19 +0000)]
r15002: More cleanups in build/m4/rewrite.m4
Jelmer Vernooij [Sat, 8 Apr 2006 16:49:03 +0000 (16:49 +0000)]
r15001: Add 'make dist'
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
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
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