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
(This used to be commit
cca75ae22d225dda2e96907daa3c24a35bb281cd)
Jelmer Vernooij [Sat, 10 May 2008 18:17:02 +0000 (20:17 +0200)]
Fix building with system-provided LDB.
(This used to be commit
fbfbc1f163520b3b9a4a3bf8bdddf26749cc7255)
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
(This used to be commit
edfd02e59bba86b977bd60848f57a614691fff7a)
Jelmer Vernooij [Sat, 10 May 2008 12:26:08 +0000 (14:26 +0200)]
Jelmer Vernooij [Fri, 9 May 2008 22:48:11 +0000 (00:48 +0200)]
Fix location of torture pc file.
(This used to be commit
3e2c067ec734d8c14006ce9bec75a8ffccbf72c1)
Jelmer Vernooij [Fri, 9 May 2008 22:46:25 +0000 (00:46 +0200)]
Fix installation of pidl perl files, torture pc file.
(This used to be commit
32da606e3759026c2744f853cd8948333ed0579c)
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
(This used to be commit
dabdf24e86f038e3afc67532fa5bf60a37992161)
Jelmer Vernooij [Thu, 8 May 2008 10:40:56 +0000 (12:40 +0200)]
Jelmer Vernooij [Thu, 8 May 2008 09:56:32 +0000 (11:56 +0200)]
Fix link flags for ldb and tdb Python modules.
(This used to be commit
787a32fdef9d761d64839f489cca0b0684f9a9fd)
Jelmer Vernooij [Thu, 8 May 2008 08:53:03 +0000 (10:53 +0200)]
Install session.h, required by OpenChange's proxy.
(This used to be commit
44d8b70004247729862b194ea66444e0cf296660)
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
(This used to be commit
04f4523ed032946b8f0e74ac6f7458010159e3bb)
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
metze
(This used to be commit
3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)
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
(This used to be commit
55a904b1d7aeca849d450e371b18afca5b0c6218)
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
(This used to be commit
b09dd6b65d533832a025a51509dcc84f84b048aa)
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
(This used to be commit
a9604fe4a323dccb537cf02ea7594437b4995803)
Stefan Metzmacher [Wed, 7 May 2008 06:59:06 +0000 (08:59 +0200)]
build: fix path to lex_compile.sh
metze
(This used to be commit
6a1b7f56afa7475880f4eb5f0b669fd2b95a1d8f)
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
(This used to be commit
334d76c3559870bd9dc9ef55c9b1a7ce21ee9d4c)
Stefan Metzmacher [Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)]
libreplace: check how portable utimes() and futimes() are
metze
(This used to be commit
8798ce3c744025b94973784dcb44d099427ef190)
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
(This used to be commit
95831a015ae076b52256961f771f50dd9b278e33)
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
(This used to be commit
7c07edb24b31e7dc3e9b836ec4a6680ee2b04276)
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
(This used to be commit
efa399037511ced8978f2e7661a71aac7a384883)
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
(This used to be commit
a1e60ebc6d1e794011df5f69f691f4ec8622e991)
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
(This used to be commit
6ffabb38d03ad90d8731ab3e0eb692438db967ee)
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
(This used to be commit
f0c95cd74fb6fea57cef89b59e5d2f10ea25c138)
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
(This used to be commit
6bb4c1e6a38a842787177a399bf88f05015f5ec0)
Jelmer Vernooij [Sun, 27 Apr 2008 22:29:50 +0000 (23:29 +0100)]
Split up lcov target.
(This used to be commit
38f455e0054acc1fdaea267e03f8aad337309cf2)
Jelmer Vernooij [Sun, 27 Apr 2008 14:04:33 +0000 (15:04 +0100)]
Fix header locations.
(This used to be commit
4fc11bd97d6b65569742a7f1c695b7ecbc76919a)
Jelmer Vernooij [Sun, 27 Apr 2008 13:02:46 +0000 (14:02 +0100)]
Move subunit infrastructure code into lib/torture.
(This used to be commit
5b44d8121de7735d69e6238a1442aff034a8ebd3)
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
(This used to be commit
71ec5bfb3e973bd68649a598d006efcdda18f1b6)
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
(This used to be commit
6dbbcf8aaf9b93af970d1701dfb185460d4dc788)
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
(This used to be commit
40fe386b0374df8b390b995c332d048dbbc08f1b)
Andrew Bartlett [Fri, 25 Apr 2008 14:08:23 +0000 (15:08 +0100)]
Don't compile files twice when the compilation fails.
Andrew Bartlett
(This used to be commit
53ea233649d12d77233611e272cf5f470177571c)
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
(This used to be commit
687e81883d37e3d1f55d3a7a87e20fb860888dde)
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
(This used to be commit
13bbd420681519894a4036729c43273912c9b402)
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
(This used to be commit
717dcb2c54b1e22b7c8efb322deec55abb7689c2)
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
(This used to be commit
2c3a3d0134b5fe4cd9dfdb05d1b140b2c9b502f1)
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
(This used to be commit
58935acc7c8e97323d5d5979234ef26ef8a100a4)
Jelmer Vernooij [Thu, 24 Apr 2008 14:22:07 +0000 (15:22 +0100)]
Distinguish between private and public dependencies in the dot file.
(This used to be commit
0690ce5211e659d5b8670d533fde77cf97048884)
Andrew Bartlett [Thu, 24 Apr 2008 12:30:36 +0000 (13:30 +0100)]
Add documentation to session token functions.
(This used to be commit
ec4a108d1d35cd4bb2170f1bb122546266b9b745)
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
(This used to be commit
62136febe7bb1122a57737ca43d1ed0800453d77)
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
(This used to be commit
5f3a70f285ad8a412105c0e498e486f93fc279bc)
James Peach [Wed, 23 Apr 2008 18:26:38 +0000 (11:26 -0700)]
testsuite: skip RAW-BENCH-LOOKUP by default.
(This used to be commit
8a8449c95336d8019e9105fba6ef09473aae813b)
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.
(This used to be commit
0c59b39ad8edcaf9f06a2d1393e11e06e4b2f18f)
Simo Sorce [Tue, 22 Apr 2008 20:37:54 +0000 (16:37 -0400)]
Fix more failing tests to pass the event context.
(This used to be commit
d6c5d8baf0c48a6078a47bba33993a841ff526d9)
Simo Sorce [Tue, 22 Apr 2008 20:37:27 +0000 (16:37 -0400)]
Remove temporary debug statement
(This used to be commit
10780e638af8afc3ffa261255200779aea732694)
Jelmer Vernooij [Tue, 22 Apr 2008 20:33:34 +0000 (22:33 +0200)]
Fix event context initialization for Python bindings.
(This used to be commit
132efc779ede27898765320a13bdde0b5256102b)
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
(This used to be commit
10a1a53d8beb56b7e12149c50e2685a1578413b9)
Björn Jacke [Fri, 18 Apr 2008 15:09:09 +0000 (17:09 +0200)]
fix an extrasemi compile warning
(This used to be commit
47e8ef4f6aa91ed0b069a1890cb1f853b4e9b879)
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
(This used to be commit
1e38de45640430be002053b8bd52b615184134ba)
Simo Sorce [Mon, 21 Apr 2008 23:53:29 +0000 (19:53 -0400)]
Make sure we have an event context available
(This used to be commit
b7c96e0cc270bd3b1c9bd117a22df3f657b6acd5)
Simo Sorce [Mon, 21 Apr 2008 23:53:15 +0000 (19:53 -0400)]
Jelmer Vernooij [Mon, 21 Apr 2008 23:34:11 +0000 (01:34 +0200)]
Add port number for ncacn_http epmapper.
(This used to be commit
1304362b3754960f68fb56e0915c3d80cace6e60)
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.
(This used to be commit
3045d391626fba169aa26be52174883e18d323e9)
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.
(This used to be commit
ca7e4d9166a7cb10495cf3ecd9c4e72103fbec30)
Jelmer Vernooij [Mon, 21 Apr 2008 15:59:08 +0000 (17:59 +0200)]
Load default smb.conf file if none was specified explicitly.
(This used to be commit
8fa23fac516dbf4c8245c1d009e81f02a6341775)
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
(This used to be commit
13a0941d3432dc7dae552048265ad1e762b781d4)
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
(This used to be commit
50f6a72b674f58a24c1a6c42e4dd56dc4e9f5a1e)
Stefan Metzmacher [Fri, 18 Apr 2008 22:13:42 +0000 (00:13 +0200)]
torture/smb2: add a simple SMB2-OPLOCK-BATCH1 test
metze
(This used to be commit
914f0ac83bc396be0ca34c43e2ea01ecc1c3b826)
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
(This used to be commit
b781bb733c9a563457f87c94abe8c91b426c07ee)
Stefan Metzmacher [Fri, 18 Apr 2008 20:30:12 +0000 (22:30 +0200)]
smb_server/smb2: handle incoming oplock releases
metze
(This used to be commit
2306394dcc22ff2be8581256a5cf91eef4993078)
Stefan Metzmacher [Fri, 18 Apr 2008 20:27:24 +0000 (22:27 +0200)]
libcli/smb2: make it possible to handle incoming oplock requests
metze
(This used to be commit
58189b87eade62b717c2c17c679e482786bf2098)
Stefan Metzmacher [Fri, 18 Apr 2008 20:24:21 +0000 (22:24 +0200)]
libcli/smb2: add smb2_break() calls
metze
(This used to be commit
7f545dbbf0186fe552e4c49a3f618862cb4771e7)
Stefan Metzmacher [Fri, 18 Apr 2008 20:19:08 +0000 (22:19 +0200)]
libcli: define structure for SMB2 Break
metze
(This used to be commit
5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
Stefan Metzmacher [Fri, 18 Apr 2008 22:14:52 +0000 (00:14 +0200)]
ntvfs_generic: fix mapping the granted oplocks for SMB2
metze
(This used to be commit
60c4a4fc1afe88716ac63d3ea430e07fea7b9991)
Stefan Metzmacher [Fri, 18 Apr 2008 20:20:49 +0000 (22:20 +0200)]
build: fix the build rule for .o files
metze
(This used to be commit
c7f34f41c3f9f0c3f75a618dfaf566706014a6b4)
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.
(This used to be commit
8e4f16e975e192709f398c98650cbe9fe2a76261)
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
(This used to be commit
d06eafea1a3e7fa61c94492cf504e6fd81da861d)
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
(This used to be commit
e8da1559f7282127264c671c485e812f669b97ba)
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
(This used to be commit
3c217518ba9a7b64fe6c842187499f1ee5189567)
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
(This used to be commit
e2489de8de7d6e4839f29166f1881df3550a502d)
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
(This used to be commit
b2dac6645c3bce45ab2178b9f5b4e017486b5b8e)
Andrew Bartlett [Fri, 18 Apr 2008 09:37:43 +0000 (11:37 +0200)]
Fix samba3 protocol to correctly include the NULL terminator
Andrew Bartlett
(This used to be commit
fa459913039673e55aa9300962f01e5079dd20d8)
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
(This used to be commit
43fc10aaa7c3d50cb9fee5ecab859103aec4a62e)
Andrew Bartlett [Thu, 17 Apr 2008 16:40:56 +0000 (18:40 +0200)]
More endian fixes in the registry
(This used to be commit
b26662be196a84237543eb90d6e08809489df3a9)
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
(This used to be commit
c73a3b837ec16fbb846c6e63a45599fca99b3d0b)
Andrew Bartlett [Thu, 17 Apr 2008 14:44:55 +0000 (16:44 +0200)]
Andrew Bartlett [Thu, 17 Apr 2008 14:38:53 +0000 (16:38 +0200)]
More work to avoid endian bugs in registry tests.
Andrew Bartlett
(This used to be commit
500544f4127d4042ab5ea8e3800156246982c297)
Stefan Metzmacher [Thu, 17 Apr 2008 14:26:59 +0000 (16:26 +0200)]
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
metze
(This used to be commit
0e2f6d481b3e35ed392b2b3340b244c77593819c)
Stefan Metzmacher [Thu, 17 Apr 2008 13:01:45 +0000 (15:01 +0200)]
libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
metze
(This used to be commit
690c12cd2afd0fba626576fbae3f28ffdae63be2)
Andrew Bartlett [Thu, 17 Apr 2008 13:54:22 +0000 (15:54 +0200)]
Fix bug in registry test on big-endian machines.
Andrew Bartlett
(This used to be commit
c74c67c38383b43efd707934e8c457b757e49db1)
Andrew Tridgell [Thu, 17 Apr 2008 13:21:08 +0000 (15:21 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
3ab9abf40605a4a6b220faeebaef81546a8d87a0)
Andrew Tridgell [Thu, 17 Apr 2008 13:20:39 +0000 (15:20 +0200)]
fix the overflow/wrap checks in Samba4 for new gcc optimisation behavior
The approach I have used is as set out in
https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array
(This used to be commit
92d5fb531db39be655f0cbd2d75b5f675a0a4cfa)
Andrew Bartlett [Thu, 17 Apr 2008 12:59:16 +0000 (14:59 +0200)]
Don't exclude all tests mentioning 'samba3', but only those actually
specific.
Andrew Bartlett
(This used to be commit
a38f413c557f3c85a5524607c69e9085a8289f47)
Andrew Bartlett [Thu, 17 Apr 2008 12:51:30 +0000 (14:51 +0200)]
Fix samba3sam test.
sAMAccountType is blocked by the samldb module.
Andrew Bartlett
(This used to be commit
d15ca7e38ba6cc39ab16aa52cdd071be922c9903)
Andrew Tridgell [Thu, 17 Apr 2008 12:47:07 +0000 (14:47 +0200)]
use uintptr_t instead of intptr_t where appropriate
(This used to be commit
d62f2bcc85c13605c133db250e0a86d2d6ccc481)
Andrew Bartlett [Thu, 17 Apr 2008 12:25:22 +0000 (14:25 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit
8d9812bada2801f93eb47270287b3c083a3e9df8)
Andrew Bartlett [Thu, 17 Apr 2008 12:23:50 +0000 (14:23 +0200)]
Run samba3sam.js with bin/smbscript explicitly.
Andrew Bartlett
(This used to be commit
12fa30765361ed9b2e80951baa739ae4aba3fffe)
Andrew Bartlett [Thu, 17 Apr 2008 12:20:46 +0000 (14:20 +0200)]
Fix build not to always use code coverage.
Somehow, the way this was structured before always did a gcov build.
Andrew Bartlett
(This used to be commit
052edb786418f161272a41025f8b6eee93bb433d)
Simo Sorce [Thu, 17 Apr 2008 12:04:57 +0000 (08:04 -0400)]
Add useful provisioning debugging options
(This used to be commit
3f46eb95e47828ba1db236d584933c997cb0c170)
Jelmer Vernooij [Thu, 17 Apr 2008 11:05:25 +0000 (13:05 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit
ece878c1f9251b83598508e23ce0015b4db72f0a)
Jelmer Vernooij [Thu, 17 Apr 2008 11:04:04 +0000 (13:04 +0200)]
Fix the build.
(This used to be commit
5632fe8c61cfd7d69ebdc263dcb5740e72f25b95)
Jelmer Vernooij [Thu, 17 Apr 2008 10:23:44 +0000 (12:23 +0200)]
Specify event_context to ldb_wrap_connect explicitly.
(This used to be commit
b4e1ae07a284c044704322446c94351c2decff91)
Andrew Bartlett [Thu, 17 Apr 2008 10:03:49 +0000 (12:03 +0200)]
Fix the expectations on the unixinfo test.
Andrew Bartlett
(This used to be commit
0df2b3e0b56007850cf83cfdcdb45ca29e162d34)
Andrew Bartlett [Thu, 17 Apr 2008 09:25:19 +0000 (11:25 +0200)]
Run more tests that were previously skipped.
Andrew Bartlett
(This used to be commit
4e06b1d684d6893d79dd6cbd32c2f868dcc559da)
Andrew Bartlett [Thu, 17 Apr 2008 09:22:23 +0000 (11:22 +0200)]
Skip strcmp() on 2 NULL pointers.
Andrew Bartlett
(This used to be commit
7b9a647ebbbe9ec9e1b82b42e3a8916396f91273)
Andrew Bartlett [Thu, 17 Apr 2008 08:40:16 +0000 (10:40 +0200)]
Use the struct based winbind tests, but mark as known fail.
Andrew Bartlett
(This used to be commit
85c9b21a457ccbf9014ae8f0554a8a5938256a11)
Andrew Tridgell [Thu, 17 Apr 2008 07:37:29 +0000 (09:37 +0200)]
make smb2 read and write size configurable
(This used to be commit
2090e75e0c28f8d2aada305059bdb455f42ed0d5)
Andrew Tridgell [Thu, 17 Apr 2008 07:36:09 +0000 (09:36 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Conflicts:
source/ntvfs/ntvfs_generic.c
(This used to be commit
a626a9c69cb2c07c8de69dcfe45361f86d6de58d)
Stefan Metzmacher [Thu, 17 Apr 2008 01:54:26 +0000 (03:54 +0200)]
ntvfs_generic: map SMB2 oplock levels to the generic ones
metze
(This used to be commit
9013748273378f88bfc66d3583814f0fee67c40f)