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.
Jelmer Vernooij [Sun, 2 Apr 2006 16:26:02 +0000 (16:26 +0000)]
r14867: Include <stdbool.h> in external compiles
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.
Stefan Metzmacher [Sun, 2 Apr 2006 12:24:43 +0000 (12:24 +0000)]
r14861: regenerate the proto headers when the .mk file changes
metze
Stefan Metzmacher [Sun, 2 Apr 2006 12:02:01 +0000 (12:02 +0000)]
r14860: create libcli/security/security.h
metze
Stefan Metzmacher [Sun, 2 Apr 2006 11:19:21 +0000 (11:19 +0000)]
r14859: fix bugs noticed by the ibm code checker
metze
Stefan Metzmacher [Sun, 2 Apr 2006 11:18:34 +0000 (11:18 +0000)]
r14858: fix bugs noticed by the ibm code checker
metze
Stefan Metzmacher [Sun, 2 Apr 2006 11:17:07 +0000 (11:17 +0000)]
r14857: fix bugs noticed by the ibm code checker
metze
Stefan Metzmacher [Sun, 2 Apr 2006 11:15:59 +0000 (11:15 +0000)]
r14856: fix bugs noticed by the ibm code checker
metze
Tim Potter [Sun, 2 Apr 2006 01:56:22 +0000 (01:56 +0000)]
r14854: Finish off swig wrapper and torture tests for tdb.
Jelmer Vernooij [Sat, 1 Apr 2006 18:41:07 +0000 (18:41 +0000)]
r14852: See if all target platforms support multiple .SUFFIXES lines.
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)
Jelmer Vernooij [Sat, 1 Apr 2006 18:25:07 +0000 (18:25 +0000)]
r14850: Don't assume that sizeof(BOOL) == sizeof(int)
Stefan Metzmacher [Sat, 1 Apr 2006 08:12:49 +0000 (08:12 +0000)]
r14848: use the constant instead of the interger value
metze
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
Jelmer Vernooij [Fri, 31 Mar 2006 23:28:18 +0000 (23:28 +0000)]
r14844: Support a stdbool.h replacement in lib/replace/
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
Stefan Metzmacher [Fri, 31 Mar 2006 13:39:28 +0000 (13:39 +0000)]
r14842: fix parsing of NetDiskEnum replies
metze
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
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 :-)
Andrew Tridgell [Fri, 31 Mar 2006 05:33:35 +0000 (05:33 +0000)]
r14837: fixed build error
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.
Andrew Tridgell [Fri, 31 Mar 2006 03:02:39 +0000 (03:02 +0000)]
r14835: split out the config rules for the ntvfs/common/ directory
Stefan Metzmacher [Thu, 30 Mar 2006 15:47:41 +0000 (15:47 +0000)]
r14826: initialize pid1 and pid2:-)
metze
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
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
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
Stefan Metzmacher [Thu, 30 Mar 2006 11:58:46 +0000 (11:58 +0000)]
r14817: rename some tests
tridge: is SCAN-EAMAX ok?
metze
Jelmer Vernooij [Thu, 30 Mar 2006 11:20:47 +0000 (11:20 +0000)]
r14816: Simplify test for comparison_fn_t
Stefan Metzmacher [Thu, 30 Mar 2006 11:07:17 +0000 (11:07 +0000)]
r14815: BASE-DIR doesn't exists...
metze
Stefan Metzmacher [Thu, 30 Mar 2006 10:53:40 +0000 (10:53 +0000)]
r14814: also run the BASE-DIR test with 'make test'
metze
Jelmer Vernooij [Thu, 30 Mar 2006 10:46:36 +0000 (10:46 +0000)]
r14813: Remove headers already checked for earlier or not used.
Jelmer Vernooij [Thu, 30 Mar 2006 10:29:41 +0000 (10:29 +0000)]
r14812: Fix typos
Andrew Tridgell [Thu, 30 Mar 2006 09:24:31 +0000 (09:24 +0000)]
r14808: added notify_trigger() calls for rename and setfileinfo calls
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)
Jelmer Vernooij [Thu, 30 Mar 2006 08:31:39 +0000 (08:31 +0000)]
r14806: Fix compiler warnings
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
Tim Potter [Thu, 30 Mar 2006 05:50:09 +0000 (05:50 +0000)]
r14804: Start writing a more Pythonic tdb module.
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
Tim Potter [Thu, 30 Mar 2006 05:36:09 +0000 (05:36 +0000)]
r14802: Fix typo.
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
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
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.
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.
Andrew Tridgell [Thu, 30 Mar 2006 03:51:49 +0000 (03:51 +0000)]
r14797: added checking of the filter in notify requests
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
Andrew Tridgell [Thu, 30 Mar 2006 02:25:38 +0000 (02:25 +0000)]
r14795: queue notify requests on the same handle
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
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
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
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
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)
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
Stefan Metzmacher [Sun, 26 Mar 2006 10:53:04 +0000 (10:53 +0000)]
r14738: do some different lookups
metze
Jelmer Vernooij [Sun, 26 Mar 2006 01:37:31 +0000 (01:37 +0000)]
r14737: Fix shared library build without --enable-developer
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
Jelmer Vernooij [Sun, 26 Mar 2006 00:59:17 +0000 (00:59 +0000)]
r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
Stefan Metzmacher [Sat, 25 Mar 2006 22:33:49 +0000 (22:33 +0000)]
r14734: this demonstrates that a tcon isn't autoclosed by a ulogoff
the tcon can be reused using any other valid session later
metze
Stefan Metzmacher [Sat, 25 Mar 2006 22:29:45 +0000 (22:29 +0000)]
r14733: SMBtdis needs a TCON and doesn't need a SESSION,
on an invalid tcon it gives NT_STATUS_DOS(ERRSRV, ERRinvnid)
metze
Stefan Metzmacher [Sat, 25 Mar 2006 22:20:48 +0000 (22:20 +0000)]
r14732: fix typo noticed by derrell, thanks!
metze
Jelmer Vernooij [Sat, 25 Mar 2006 21:49:21 +0000 (21:49 +0000)]
r14731: Fix typo
Jelmer Vernooij [Sat, 25 Mar 2006 21:42:29 +0000 (21:42 +0000)]
r14730: Remove dependency information with 'make clean'
Jelmer Vernooij [Sat, 25 Mar 2006 21:02:22 +0000 (21:02 +0000)]
r14729: Install db_wrap.h and db_wrap_proto.h
Jelmer Vernooij [Sat, 25 Mar 2006 20:58:11 +0000 (20:58 +0000)]
r14728: Install two more headers, fix warning
Jelmer Vernooij [Sat, 25 Mar 2006 20:51:41 +0000 (20:51 +0000)]
r14727: Update pidls' TODO, add test that demonstrates the desired behaviour
Jelmer Vernooij [Sat, 25 Mar 2006 19:12:08 +0000 (19:12 +0000)]
r14725: Reduce amount of headers, add simple ui implementation (not used yet though)
Jelmer Vernooij [Sat, 25 Mar 2006 18:47:47 +0000 (18:47 +0000)]
r14724: Rearrange some source files, install more headers.
Jelmer Vernooij [Sat, 25 Mar 2006 18:45:51 +0000 (18:45 +0000)]
r14723: Keep statistics
Jelmer Vernooij [Sat, 25 Mar 2006 16:23:42 +0000 (16:23 +0000)]
r14721: Fix a couple of warnings.
Jelmer Vernooij [Sat, 25 Mar 2006 16:01:28 +0000 (16:01 +0000)]
r14720: Add torture_context argument to all torture tests
Jelmer Vernooij [Sat, 25 Mar 2006 14:49:00 +0000 (14:49 +0000)]
r14718: Add initial work on a standardized UI for smbtorture
Andrew Bartlett [Sat, 25 Mar 2006 11:58:05 +0000 (11:58 +0000)]
r14717: Don't provision the system as 'localhost', but instead list localhost
as an alias. The netbios name is then 'localtest', which will resolve
with netbios and work with krb5.
Andrew Bartlett
Andrew Bartlett [Sat, 25 Mar 2006 11:52:53 +0000 (11:52 +0000)]
r14716: Remove username from debug message, it just causes valgrind assertions.
Andrew Bartlett
Andrew Bartlett [Sat, 25 Mar 2006 11:40:16 +0000 (11:40 +0000)]
r14715: Correct the definition of the DCE/RPC bind_nak, per the OpenGroup spec.
This allows us to correctly parse the bind_nak from NT4, when we use
an invalid auth type (the unsupported SPNEGO)..
Andrew Bartlett
Andrew Bartlett [Sat, 25 Mar 2006 11:39:09 +0000 (11:39 +0000)]
r14714: On DCE/RPC, we need the name of the remote server used on the socket,
for Kerberos. It must be the full name contacted, not the 'called
name' we might want to use for \\server things, so add another function.
Andrew Bartlett
Andrew Bartlett [Sat, 25 Mar 2006 11:30:06 +0000 (11:30 +0000)]
r14713: For testing, it is sometimes useful to specify a hostname for kerberos
that differs from the hostname the connect() uses.
In particular, this helps in running Kerberos tests in 'make test'.
Andrew Bartlett
Andrew Bartlett [Sat, 25 Mar 2006 10:59:20 +0000 (10:59 +0000)]
r14712: Do not proceed in event of failure to obtain a policy handle.
This makes the log results much easier to understand.
Andrew Bartlett