jra/samba/.git
16 years agoTiago Batista posted a patch to fix the build:
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)

16 years agoFix the build after the auth/ -> auth/ntlm/ rename
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)

16 years agoMove NTLM authentication details into auth/ntlm
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)

16 years agoAdd a new implementation of security=server.
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)

16 years agoAllow an NTLM response to be specified into the auth subsystem.
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)

16 years agoReorder this function in the file, so it reads bottom-up.
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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)

16 years agoSplit up lcov target.
Jelmer Vernooij [Sun, 27 Apr 2008 22:29:50 +0000 (23:29 +0100)]
Split up lcov target.
(This used to be commit 38f455e0054acc1fdaea267e03f8aad337309cf2)

16 years agoFix header locations.
Jelmer Vernooij [Sun, 27 Apr 2008 14:04:33 +0000 (15:04 +0100)]
Fix header locations.
(This used to be commit 4fc11bd97d6b65569742a7f1c695b7ecbc76919a)

16 years agoMove subunit infrastructure code into lib/torture.
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)

16 years agoFix dependencies on gensec_krb5 and the NTLMSSP code.
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)

16 years agoRevert to using the old CIFS connection API.
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)

16 years agoMake the composite 'connect to server' code useful for security=server
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)

16 years agoDon't compile files twice when the compilation fails.
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)

16 years agoWhen a test harness program fails, make the testsuite fail.
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)

16 years agoRemove vampire.py as the 'net' binary is the right interface.
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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)

16 years agoAdd comment explaining why io.in.workgroup isn't important.
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)

16 years agoAdd documentation to session token functions.
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)

16 years agoRemove unused KANJI and terminal code options.
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)

16 years agolibnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
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)

16 years agotestsuite: skip RAW-BENCH-LOOKUP by default.
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)

16 years agoRevert "Add port number for ncacn_http epmapper."
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)

16 years agoFix more failing tests to pass the event context.
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)

16 years agoRemove temporary debug statement
Simo Sorce [Tue, 22 Apr 2008 20:37:27 +0000 (16:37 -0400)]
Remove temporary debug statement
(This used to be commit 10780e638af8afc3ffa261255200779aea732694)

16 years agoFix event context initialization for Python bindings.
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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)

16 years agofix an extrasemi compile warning
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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)

16 years agoMake sure we have an event context available
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)

16 years agoFix build
Simo Sorce [Mon, 21 Apr 2008 23:53:15 +0000 (19:53 -0400)]
Fix build
(This used to be commit c16d1d430a0f1e3643c1e769b10e9d88b4719d17)

16 years agoAdd port number for ncacn_http epmapper.
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)

16 years agoRemove more event_context_init() uses from function calls within deep down the code.
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)

16 years agosmbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.
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)

16 years agoLoad default smb.conf file if none was specified explicitly.
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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)

16 years agoSMB2-PERSISTENT-HANDLES1: close the handle before deleting it
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)

16 years agotorture/smb2: add a simple SMB2-OPLOCK-BATCH1 test
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)

16 years agontvfs_generic: map RAW_LOCK_SMB2_BREAK to RAW_LOCK_GENERIC
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)

16 years agosmb_server/smb2: handle incoming oplock releases
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)

16 years agolibcli/smb2: make it possible to handle incoming oplock requests
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)

16 years agolibcli/smb2: add smb2_break() calls
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)

16 years agolibcli: define structure for SMB2 Break
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)

16 years agontvfs_generic: fix mapping the granted oplocks for SMB2
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)

16 years agobuild: fix the build rule for .o files
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)

16 years agoFlag smb messages array with AND_X and LARGE_REQUEST
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)

16 years agoRe-order smbsrv_recv_smb_request and smb_messages
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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)

16 years agofixed a double free in winbind
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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)

16 years agochange the default idmap range to 3M -> 4M
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)

16 years agoFix samba3 protocol to correctly include the NULL terminator
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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)

16 years agoMore endian fixes in the registry
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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)

16 years agoFix typo
Andrew Bartlett [Thu, 17 Apr 2008 14:44:55 +0000 (16:44 +0200)]
Fix typo
(This used to be commit ba6546504505f19abaa5aa35fe3e469ddfd3d619)

16 years agoMore work to avoid endian bugs in registry tests.
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)

16 years agonbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
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)

16 years agolibndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
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)

16 years agoFix bug in registry test on big-endian machines.
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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)

16 years agofix the overflow/wrap checks in Samba4 for new gcc optimisation behavior
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)

16 years agoDon't exclude all tests mentioning 'samba3', but only those actually
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)

16 years agoFix samba3sam test.
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)

16 years agouse uintptr_t instead of intptr_t where appropriate
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
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)

16 years agoRun samba3sam.js with bin/smbscript explicitly.
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)

16 years agoFix build not to always use code coverage.
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)

16 years agoAdd useful provisioning debugging options
Simo Sorce [Thu, 17 Apr 2008 12:04:57 +0000 (08:04 -0400)]
Add useful provisioning debugging options
(This used to be commit 3f46eb95e47828ba1db236d584933c997cb0c170)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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)

16 years agoFix the build.
Jelmer Vernooij [Thu, 17 Apr 2008 11:04:04 +0000 (13:04 +0200)]
Fix the build.
(This used to be commit 5632fe8c61cfd7d69ebdc263dcb5740e72f25b95)

16 years agoSpecify event_context to ldb_wrap_connect explicitly.
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)

16 years agoFix the expectations on the unixinfo test.
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)

16 years agoRun more tests that were previously skipped.
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)

16 years agoSkip strcmp() on 2 NULL pointers.
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)

16 years agoUse the struct based winbind tests, but mark as known fail.
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)

16 years agomake smb2 read and write size configurable
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)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
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)

16 years agontvfs_generic: map SMB2 oplock levels to the generic ones
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)

16 years agoSMB2-PERSISTENT-HANDLES1: verify some more fields
Stefan Metzmacher [Thu, 17 Apr 2008 01:52:45 +0000 (03:52 +0200)]
SMB2-PERSISTENT-HANDLES1: verify some more fields

metze
(This used to be commit ae0a7d0918cc15309a6d1166885f23531365007c)

16 years agotorture/smb2: add SMB2-PERSISTENT-HANDLES1 test
Stefan Metzmacher [Wed, 16 Apr 2008 08:11:44 +0000 (10:11 +0200)]
torture/smb2: add SMB2-PERSISTENT-HANDLES1 test

This demonstrates that the file seek position
is still available on reconnected persistent handles.

metze
(This used to be commit 30e04ae3a02596de03d06874ff5dfc0ddc3bf902)

16 years agoselftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
Stefan Metzmacher [Thu, 17 Apr 2008 00:38:13 +0000 (02:38 +0200)]
selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test

metze
(This used to be commit 02bfe20fd3ef2981945b3eb38f0bf012ef0cb91e)

16 years agotorture/smb2: add torture_suite_add_2smb2_test() helper function
Stefan Metzmacher [Wed, 16 Apr 2008 13:16:56 +0000 (15:16 +0200)]
torture/smb2: add torture_suite_add_2smb2_test() helper function

metze
(This used to be commit d70afbb0673184ed067e5f1c7608536025a3cca7)

16 years agotorture/smb2: fix whitespaces
Stefan Metzmacher [Wed, 16 Apr 2008 13:15:57 +0000 (15:15 +0200)]
torture/smb2: fix whitespaces

metze
(This used to be commit 66c0f331a231ea8897bd8f83658c86b1d2c85d62)

16 years agosmb_server/smb2: initialize new create.in.blobs element untill it'll be supported
Stefan Metzmacher [Wed, 16 Apr 2008 17:26:52 +0000 (19:26 +0200)]
smb_server/smb2: initialize new create.in.blobs element untill it'll be supported

metze
(This used to be commit fbfbd74e65b1f3e185f08a538bdd50ba7c6ce9bf)

16 years agoAvoid recursive make for code coverage.
Jelmer Vernooij [Thu, 17 Apr 2008 00:06:07 +0000 (02:06 +0200)]
Avoid recursive make for code coverage.
(This used to be commit 2d1ca8cb7a1c39894e5f232f7e84936e6e1830ee)

16 years agolibcli/smb2: make it possible to pass additional extra blobs in smb2_create()
Stefan Metzmacher [Wed, 16 Apr 2008 08:03:08 +0000 (10:03 +0200)]
libcli/smb2: make it possible to pass additional extra blobs in smb2_create()

This also fixes the alignment from 8 to 4 byte bounderies.

metze
(This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)

16 years agolibcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3
Stefan Metzmacher [Wed, 16 Apr 2008 08:05:53 +0000 (10:05 +0200)]
libcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3

With this smbtorture works against longhorn beta3 again,
hopefully it still works with new versions...

metze
(This used to be commit 874924a85a862e38b7d1a6199276e998cf3697d8)

16 years agoAdd convenience function for getting at event context from ejs code.
Jelmer Vernooij [Wed, 16 Apr 2008 23:37:42 +0000 (01:37 +0200)]
Add convenience function for getting at event context from ejs code.
(This used to be commit b659e83cd6b627dd0ae04064bccff7220a5bd1ce)

16 years agoAvoid using event_context_find where possible.
Jelmer Vernooij [Wed, 16 Apr 2008 23:37:02 +0000 (01:37 +0200)]
Avoid using event_context_find where possible.
(This used to be commit 04420b4689bc223202d5bba871e3eea16301e8e9)

16 years agoFix the build.
Jelmer Vernooij [Wed, 16 Apr 2008 23:30:21 +0000 (01:30 +0200)]
Fix the build.
(This used to be commit 40b7b0e503cff31ea4e3d4822f2263fbeb76c57a)

16 years agoRequire explicit event context rather than looking if it is not specified.
Jelmer Vernooij [Wed, 16 Apr 2008 23:22:39 +0000 (01:22 +0200)]
Require explicit event context rather than looking if it is not specified.
(This used to be commit 1da0063bd5fd18ad3ac7a07c985ec6be380486e2)

16 years agoExplicitly require event context to be specified.
Jelmer Vernooij [Wed, 16 Apr 2008 23:19:53 +0000 (01:19 +0200)]
Explicitly require event context to be specified.
(This used to be commit a95a71fe45ef6a578569931a7c38061783d07db3)

16 years agoUse provided event context rather than looking for it.
Jelmer Vernooij [Wed, 16 Apr 2008 23:19:20 +0000 (01:19 +0200)]
Use provided event context rather than looking for it.
(This used to be commit fd0bb96acea3d7949cf0574bb6f3568a90f67f4e)

16 years agoRequire passing in an event context to endpoint mapper utility function.
Jelmer Vernooij [Wed, 16 Apr 2008 23:09:33 +0000 (01:09 +0200)]
Require passing in an event context to endpoint mapper utility function.
(This used to be commit 906b9fe158841c41789952601b36016af6621565)

16 years agoRemove event context tracking from the credentials struct.
Jelmer Vernooij [Wed, 16 Apr 2008 23:03:18 +0000 (01:03 +0200)]
Remove event context tracking from the credentials struct.
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)

16 years agoAvoid event_find_context when a event context is already available.
Jelmer Vernooij [Wed, 16 Apr 2008 21:06:27 +0000 (23:06 +0200)]
Avoid event_find_context when a event context is already available.
(This used to be commit 4ca264679ecfd938c538a93f4efff1bfa23c3744)

16 years agoUse readily available event context.
Jelmer Vernooij [Wed, 16 Apr 2008 20:52:07 +0000 (22:52 +0200)]
Use readily available event context.
(This used to be commit 2823fca23a4cacc996c808f22cba50b4482b5921)

16 years agoAvoid event_find_context() when the event context is already available
Jelmer Vernooij [Wed, 16 Apr 2008 20:30:15 +0000 (22:30 +0200)]
Avoid event_find_context() when the event context is already available
in the net utility.
(This used to be commit d40804777edf41889bd461f63f7a07cc1cc60e27)

16 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Jelmer Vernooij [Wed, 16 Apr 2008 16:17:10 +0000 (18:17 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit b175e7bf16eb26c0bae9731a9147d1d379ca8888)