Jelmer Vernooij [Sun, 11 May 2008 03:46:40 +0000 (05:46 +0200)]
Remove smbpython.
Jelmer Vernooij [Sun, 11 May 2008 03:45:49 +0000 (05:45 +0200)]
Set sys.path for running inside source tree.
Jelmer Vernooij [Sun, 11 May 2008 03:29:20 +0000 (05:29 +0200)]
Use system python rather than smbpython.
Jelmer Vernooij [Sun, 11 May 2008 03:18:09 +0000 (05:18 +0200)]
Fix formatting of install message.
Jelmer Vernooij [Sun, 11 May 2008 03:17:50 +0000 (05:17 +0200)]
Remove extra space that caused issues during make install.
Jelmer Vernooij [Sun, 11 May 2008 03:17:29 +0000 (05:17 +0200)]
Avoid installing non-public header.
Jelmer Vernooij [Sun, 11 May 2008 02:36:37 +0000 (04:36 +0200)]
make sure to always use string version of uuid rather than object.
Jelmer Vernooij [Sun, 11 May 2008 02:36:05 +0000 (04:36 +0200)]
Complete dependencies for python modules (actually matters when built standalone).
Jelmer Vernooij [Sun, 11 May 2008 01:31:38 +0000 (03:31 +0200)]
Fix dependency on loadparm.
Jelmer Vernooij [Sun, 11 May 2008 01:31:26 +0000 (03:31 +0200)]
Use consistent function names with the standard Python uuid module that is available in >= 2.4.
Jelmer Vernooij [Sun, 11 May 2008 01:01:27 +0000 (03:01 +0200)]
Properly escape quotes.
Jelmer Vernooij [Sun, 11 May 2008 00:15:32 +0000 (02:15 +0200)]
Merge ldb_map into LIBLDB.
Jelmer Vernooij [Sat, 10 May 2008 23:53:11 +0000 (01:53 +0200)]
Fix LDB module initialization when using external ldb.
Jelmer Vernooij [Sat, 10 May 2008 21:46:51 +0000 (23:46 +0200)]
Fix torture module initializion.
Jelmer Vernooij [Sat, 10 May 2008 21:38:56 +0000 (23:38 +0200)]
Revert "Remove copy of torture file."
This reverts commit
89bfca2da2b614e979a20c9a293b798ed7ae15ae.
Jelmer Vernooij [Sat, 10 May 2008 21:25:50 +0000 (23:25 +0200)]
Install standalone python modules (so we can use stock python rather than smbpython).
Jelmer Vernooij [Sat, 10 May 2008 20:30:00 +0000 (22:30 +0200)]
Fix soversion for libtorture and libsamba-hostconfig.
Jelmer Vernooij [Sat, 10 May 2008 20:26:14 +0000 (22:26 +0200)]
Remove copy of torture file.
Jelmer Vernooij [Sat, 10 May 2008 19:29:42 +0000 (21:29 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Sat, 10 May 2008 19:29:09 +0000 (21:29 +0200)]
Fix building with system-provided LDB without breaking anything else :-)
Jelmer Vernooij [Sat, 10 May 2008 18:59:48 +0000 (20:59 +0200)]
Revert "Fix building with system-provided LDB."
This reverts commit
fbfbc1f163520b3b9a4a3bf8bdddf26749cc7255.
Jelmer Vernooij [Sat, 10 May 2008 18:59:17 +0000 (20:59 +0200)]
Clean up some git merges gone wrong.
Jelmer Vernooij [Sat, 10 May 2008 18:44:59 +0000 (20:44 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Jelmer Vernooij [Sat, 10 May 2008 18:17:02 +0000 (20:17 +0200)]
Fix building with system-provided LDB.
Jelmer Vernooij [Sat, 10 May 2008 16:08:00 +0000 (18:08 +0200)]
Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:
source/auth/config.mk
source/auth/gensec/config.mk
source/torture/smbtorture.c
Jelmer Vernooij [Sat, 10 May 2008 12:26:08 +0000 (14:26 +0200)]
Fix case.
Jelmer Vernooij [Fri, 9 May 2008 22:48:11 +0000 (00:48 +0200)]
Fix location of torture pc file.
Jelmer Vernooij [Fri, 9 May 2008 22:46:25 +0000 (00:46 +0200)]
Fix installation of pidl perl files, torture pc file.
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
Fix typo.
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
Jelmer Vernooij [Thu, 8 May 2008 10:40:56 +0000 (12:40 +0200)]
Fix typo.
Jelmer Vernooij [Thu, 8 May 2008 09:56:32 +0000 (11:56 +0200)]
Fix link flags for ldb and tdb Python modules.
Jelmer Vernooij [Thu, 8 May 2008 08:53:03 +0000 (10:53 +0200)]
Install session.h, required by OpenChange's proxy.
Stefan Metzmacher [Wed, 7 May 2008 15:38:41 +0000 (17:38 +0200)]
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
metze
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
Stefan Metzmacher [Wed, 7 May 2008 14:50:19 +0000 (16:50 +0200)]
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step
metze
Stefan Metzmacher [Wed, 7 May 2008 13:46:22 +0000 (15:46 +0200)]
pvfs: remove XATTR_ATTRIB_FLAG_STICKY_WRITE_TIME code
I'll fix this more correctly very soon,
so that we'll pass the BASE-DELAYWRITE test.
metze
Stefan Metzmacher [Wed, 7 May 2008 11:10:31 +0000 (13:10 +0200)]
libreplace: always provide utime() and utimes()
I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.
If someone knows how to write a portable replacement
for futimes() please tell me...
metze
Stefan Metzmacher [Wed, 7 May 2008 06:59:06 +0000 (08:59 +0200)]
build: fix path to lex_compile.sh
metze
Michael Adam [Tue, 6 May 2008 13:26:37 +0000 (15:26 +0200)]
torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()
Michael
Stefan Metzmacher [Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)]
libreplace: check how portable utimes() and futimes() are
metze
Tiago Batista [Mon, 5 May 2008 22:12:03 +0000 (08:12 +1000)]
Tiago Batista posted a patch to fix the build:
Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.
Andrew Bartlett
Andrew Bartlett [Mon, 5 May 2008 09:28:38 +0000 (19:28 +1000)]
Fix the build after the auth/ -> auth/ntlm/ rename
I need to fix up the header inclusion, but this fixes things for now.
Andrew Bartlett
Andrew Bartlett [Mon, 5 May 2008 05:23:57 +0000 (15:23 +1000)]
Move NTLM authentication details into auth/ntlm
This should help clarify the role of the various files around here
(done on Jelmer's request).
Andrew Bartlett
Andrew Bartlett [Mon, 5 May 2008 03:21:18 +0000 (13:21 +1000)]
Add a new implementation of security=server.
This is not intended for general use, and will not be easily exposed
(if I have anything to do with it), but should allow the CIFS proxy to
re-use the connection.
A work in progress.
Andrew Bartlett
Andrew Bartlett [Mon, 5 May 2008 02:58:15 +0000 (12:58 +1000)]
Allow an NTLM response to be specified into the auth subsystem.
This allows it to be proxied for NTLM pass-though authentication (aka
security=server and associated man-in-the-middle attacks).
Andrew Bartlett
Andrew Bartlett [Mon, 5 May 2008 02:57:23 +0000 (12:57 +1000)]
Reorder this function in the file, so it reads bottom-up.
The rest of this file reads bottom-up, but this function
(connect_send_negprot()) was out of place.
Andrew Bartlett
Andrew Bartlett [Thu, 1 May 2008 06:41:36 +0000 (16:41 +1000)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Jelmer Vernooij [Sun, 27 Apr 2008 22:29:50 +0000 (23:29 +0100)]
Split up lcov target.
Jelmer Vernooij [Sun, 27 Apr 2008 14:04:33 +0000 (15:04 +0100)]
Fix header locations.
Jelmer Vernooij [Sun, 27 Apr 2008 13:02:46 +0000 (14:02 +0100)]
Move subunit infrastructure code into lib/torture.
Andrew Bartlett [Sat, 26 Apr 2008 08:50:15 +0000 (09:50 +0100)]
Fix dependencies on gensec_krb5 and the NTLMSSP code.
This is so that gensec_krb5 does not depend on the NTLM authentication
code.
Andrew Bartlett
Andrew Bartlett [Fri, 25 Apr 2008 14:59:22 +0000 (15:59 +0100)]
Revert to using the old CIFS connection API.
Rather than add a new 'out' member to the API, simply fill in the
'tree' early enough that we can access the server challenge there.
Andrew Bartlett
Andrew Bartlett [Fri, 25 Apr 2008 14:08:52 +0000 (15:08 +0100)]
Make the composite 'connect to server' code useful for security=server
The ability to short-circuit the connection code to only do a negprot
allows us to do the rest once we have the user's password. We return
the 8 byte challenge so we can pass it to the client.
Andrew Bartlett
Andrew Bartlett [Fri, 25 Apr 2008 14:08:23 +0000 (15:08 +0100)]
Don't compile files twice when the compilation fails.
Andrew Bartlett
Andrew Bartlett [Fri, 25 Apr 2008 14:05:07 +0000 (15:05 +0100)]
When a test harness program fails, make the testsuite fail.
The problem fixed here is that pidl tests were not causing the 'number
of tests failing' count to increase, due to the way return codes are
processed on pipelines, in the shell.
By setting an exit code if we print 'failure', we ensure we fail
appropriately.
Andrew Bartlett
Jelmer Vernooij [Fri, 25 Apr 2008 09:04:20 +0000 (10:04 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:
source/Makefile
source/auth/config.mk
source/auth/gensec/config.mk
source/build/m4/public.m4
source/build/make/python.mk
source/build/make/rules.mk
source/build/smb_build/header.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/dsdb/samdb/ldb_modules/config.mk
source/kdc/config.mk
source/lib/events/config.mk
source/lib/events/events.c
source/lib/ldb/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/util/config.mk
source/libcli/smb2/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/nbt_server/config.mk
source/ntptr/ntptr_base.c
source/ntvfs/posix/config.mk
source/ntvfs/sysdep/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/rpc_server/service_rpc.c
source/scripting/ejs/config.mk
source/scripting/python/config.mk
source/smb_server/config.mk
source/smbd/server.c
source/torture/config.mk
source/torture/smb2/config.mk
source/wrepl_server/config.mk
Andrew Bartlett [Fri, 25 Apr 2008 08:25:14 +0000 (09:25 +0100)]
Remove vampire.py as the 'net' binary is the right interface.
As some future point we might get these scripting interfaces into
better shape, and provide a python interface to this functionality
again.
Andrew Bartlett
Andrew Bartlett [Fri, 25 Apr 2008 08:24:12 +0000 (09:24 +0100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Thu, 24 Apr 2008 15:27:36 +0000 (16:27 +0100)]
Add comment explaining why io.in.workgroup isn't important.
This protocol feild isn't used by servers (apparently), so we might be
able to get rid of it.
Andrew Bartlett
Jelmer Vernooij [Thu, 24 Apr 2008 14:22:07 +0000 (15:22 +0100)]
Distinguish between private and public dependencies in the dot file.
Andrew Bartlett [Thu, 24 Apr 2008 12:30:36 +0000 (13:30 +0100)]
Add documentation to session token functions.
Andrew Bartlett [Thu, 24 Apr 2008 10:49:41 +0000 (11:49 +0100)]
Remove unused KANJI and terminal code options.
Someone can re-add this with tests and an actual implementation.
Andrew Bartlett
Kai Blin [Sat, 19 Apr 2008 12:09:18 +0000 (14:09 +0200)]
libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
James Peach [Wed, 23 Apr 2008 18:26:38 +0000 (11:26 -0700)]
testsuite: skip RAW-BENCH-LOOKUP by default.
Simo Sorce [Wed, 23 Apr 2008 12:54:57 +0000 (08:54 -0400)]
Revert "Add port number for ncacn_http epmapper."
This reverts commit
1304362b3754960f68fb56e0915c3d80cace6e60.
This was causing way too many tests to fail. The dcesrv server was failing
to start as the NCACN_HTTP transport is considered invalid.
Jelmer please check how to properly fix dcesrv server before re-committing
your change.
Simo Sorce [Tue, 22 Apr 2008 20:37:54 +0000 (16:37 -0400)]
Fix more failing tests to pass the event context.
Simo Sorce [Tue, 22 Apr 2008 20:37:27 +0000 (16:37 -0400)]
Remove temporary debug statement
Jelmer Vernooij [Tue, 22 Apr 2008 20:33:34 +0000 (22:33 +0200)]
Fix event context initialization for Python bindings.
Jelmer Vernooij [Tue, 22 Apr 2008 20:19:46 +0000 (22:19 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Björn Jacke [Fri, 18 Apr 2008 15:09:09 +0000 (17:09 +0200)]
fix an extrasemi compile warning
Jelmer Vernooij [Tue, 22 Apr 2008 08:21:22 +0000 (10:21 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Simo Sorce [Mon, 21 Apr 2008 23:53:29 +0000 (19:53 -0400)]
Make sure we have an event context available
Simo Sorce [Mon, 21 Apr 2008 23:53:15 +0000 (19:53 -0400)]
Fix build
Jelmer Vernooij [Mon, 21 Apr 2008 23:34:11 +0000 (01:34 +0200)]
Add port number for ncacn_http epmapper.
Simo Sorce [Mon, 21 Apr 2008 21:58:23 +0000 (17:58 -0400)]
Remove more event_context_init() uses from function calls within deep down the code.
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
James Peach [Mon, 21 Apr 2008 22:09:43 +0000 (15:09 -0700)]
smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.
This test samples the lookup rate for a non-existant filename in a
directory, while varying the number of files in the directory. The
lookup rate should continue to approximate the lookup rate for the
empty directory case.
Jelmer Vernooij [Mon, 21 Apr 2008 15:59:08 +0000 (17:59 +0200)]
Load default smb.conf file if none was specified explicitly.
Andrew Bartlett [Sat, 19 Apr 2008 07:59:07 +0000 (09:59 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Stefan Metzmacher [Sat, 19 Apr 2008 00:06:44 +0000 (02:06 +0200)]
SMB2-PERSISTENT-HANDLES1: close the handle before deleting it
This means we no longer have a oplock break timing out
for the "delete".
metze
Stefan Metzmacher [Fri, 18 Apr 2008 22:13:42 +0000 (00:13 +0200)]
torture/smb2: add a simple SMB2-OPLOCK-BATCH1 test
metze
Stefan Metzmacher [Fri, 18 Apr 2008 20:32:25 +0000 (22:32 +0200)]
ntvfs_generic: map RAW_LOCK_SMB2_BREAK to RAW_LOCK_GENERIC
metze
Stefan Metzmacher [Fri, 18 Apr 2008 20:30:12 +0000 (22:30 +0200)]
smb_server/smb2: handle incoming oplock releases
metze
Stefan Metzmacher [Fri, 18 Apr 2008 20:27:24 +0000 (22:27 +0200)]
libcli/smb2: make it possible to handle incoming oplock requests
metze
Stefan Metzmacher [Fri, 18 Apr 2008 20:24:21 +0000 (22:24 +0200)]
libcli/smb2: add smb2_break() calls
metze
Stefan Metzmacher [Fri, 18 Apr 2008 20:19:08 +0000 (22:19 +0200)]
libcli: define structure for SMB2 Break
metze
Stefan Metzmacher [Fri, 18 Apr 2008 22:14:52 +0000 (00:14 +0200)]
ntvfs_generic: fix mapping the granted oplocks for SMB2
metze
Stefan Metzmacher [Fri, 18 Apr 2008 20:20:49 +0000 (22:20 +0200)]
build: fix the build rule for .o files
metze
Amin Azez [Mon, 10 Mar 2008 10:06:12 +0000 (10:06 +0000)]
Flag smb messages array with AND_X and LARGE_REQUEST
If smb_messages flags show for which opcodes VWV(0)
signifies chaining modes, and also which opcodes can
have requests >64K then the bcc / req->in.data_size
fixup in smbsrv_recv_smb_request can be more safely
applied.
This fix permits nttrans requests >64K to be handled.
It is not yet clear if THAT is a good thing, but this
fix does the current thing more nicely.
Amin Azez [Mon, 10 Mar 2008 10:03:38 +0000 (10:03 +0000)]
Re-order smbsrv_recv_smb_request and smb_messages
No functional change, just re-ordering so that
smbsrv_recv_smb_request can refer to smb_messages
in a future patch
Andrew Bartlett [Fri, 18 Apr 2008 16:21:52 +0000 (18:21 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Tridgell [Fri, 18 Apr 2008 14:23:48 +0000 (16:23 +0200)]
fixed a double free in winbind
state->domain->netlogon_binding is a child of ctx, and ctx is freed by
the composite_is_ok failure callback
Andrew Tridgell [Fri, 18 Apr 2008 13:42:55 +0000 (15:42 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Tridgell [Fri, 18 Apr 2008 13:41:54 +0000 (15:41 +0200)]
change the default idmap range to 3M -> 4M
This gives us a lot more headroom, and means that we have a lower
chance of running into real local users
Andrew Bartlett [Fri, 18 Apr 2008 09:37:43 +0000 (11:37 +0200)]
Fix samba3 protocol to correctly include the NULL terminator
Andrew Bartlett
Andrew Bartlett [Thu, 17 Apr 2008 16:44:48 +0000 (18:44 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Thu, 17 Apr 2008 16:40:56 +0000 (18:40 +0200)]
More endian fixes in the registry
Andrew Tridgell [Thu, 17 Apr 2008 14:53:36 +0000 (16:53 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Andrew Bartlett [Thu, 17 Apr 2008 14:44:55 +0000 (16:44 +0200)]
Fix typo
Andrew Bartlett [Thu, 17 Apr 2008 14:38:53 +0000 (16:38 +0200)]
More work to avoid endian bugs in registry tests.
Andrew Bartlett