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

12 years agoDistinguish between private and public dependencies in the dot file.
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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

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

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

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

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 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)

12 years agoFix todo element on actually implemented function.
Jelmer Vernooij [Wed, 16 Apr 2008 16:11:37 +0000 (18:11 +0200)]
Fix todo element on actually implemented function.
(This used to be commit dedbeea4d28ae10a15766e38e59593a2799183f3)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 16 Apr 2008 15:35:32 +0000 (17:35 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit eab5f6a7f5efa8608cb23af2cab8ab19f9f62485)

12 years agoAdjust the expectations of the struct based winbind test.
Andrew Bartlett [Wed, 16 Apr 2008 15:33:58 +0000 (17:33 +0200)]
Adjust the expectations of the struct based winbind test.

These expectations (such as what happens when we have no trusted
domains) were incorrect, compared with Samba3 (which is the reference
for this protocol).

Andrew Bartlett
(This used to be commit 29d5de9e8fb69346e29a95c6fcaefabd018c9447)

12 years agoProvide stubs when the [todo] attribute is set.
Jelmer Vernooij [Wed, 16 Apr 2008 15:21:48 +0000 (17:21 +0200)]
Provide stubs when the [todo] attribute is set.
(This used to be commit 356a5d24747bb5e1ef9774c690a5ec386a4a165e)

12 years agofixed popt handling on 64bit boxes in gentest
Andrew Tridgell [Wed, 16 Apr 2008 15:11:21 +0000 (17:11 +0200)]
fixed popt handling on 64bit boxes in gentest
(This used to be commit 40c93ffbe9eb09a5b3dc02ba56d28bf50df8ed82)

12 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Andrew Bartlett [Wed, 16 Apr 2008 14:12:58 +0000 (16:12 +0200)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 18dd8120cc35fe3d1cd4455c1f6a32b503274d97)

12 years agoFix struct_based winbind test for 'check machine account'.
Andrew Bartlett [Wed, 16 Apr 2008 14:11:17 +0000 (16:11 +0200)]
Fix struct_based winbind test for 'check machine account'.

The problem here was that we did not fill in the error strings in the
success case, and the testsuite checked against the incorrect
'freindly' error string.

Andrew Bartlett
(This used to be commit df05f118831245bdb19573711545bdb1b01a0c50)

12 years agoFix wbinfo --trusted-domains.
Andrew Bartlett [Wed, 16 Apr 2008 14:10:16 +0000 (16:10 +0200)]
Fix wbinfo --trusted-domains.

The problems here were that we did not bind to the LSA pipe, and we
did not consider it possible to have 0 trusted domains.

Andrew Bartlett
(This used to be commit 86694d429d62940882ac9b7af83b3e7d00e67c5a)

12 years agoUse the subunit shell library.
Jelmer Vernooij [Wed, 16 Apr 2008 12:52:29 +0000 (14:52 +0200)]
Use the subunit shell library.
(This used to be commit 49367e044e3ab94639ab3209bfd06c6286b44b59)

12 years agoRemove policy library - it's now in a separate git repository.
Jelmer Vernooij [Wed, 16 Apr 2008 12:41:42 +0000 (14:41 +0200)]
Remove policy library - it's now in a separate git repository.
(This used to be commit 9b364bf390524fa34db1b3d7e6f875a6b8f35f24)

12 years agoUse library for subunit test functions.
Jelmer Vernooij [Wed, 16 Apr 2008 10:34:53 +0000 (12:34 +0200)]
Use library for subunit test functions.
(This used to be commit 690924dc7f43b69b9c4cfc1dd0c9c6e83d333518)

12 years agomake sure header can be included more than once.
Jelmer Vernooij [Wed, 16 Apr 2008 09:43:37 +0000 (11:43 +0200)]
make sure header can be included more than once.
(This used to be commit 38ed501ac8993e84ea7f02d4633bc83b490dfe61)

12 years agoNow that we don't create a new event context, don't free it.
Andrew Bartlett [Wed, 16 Apr 2008 07:02:12 +0000 (09:02 +0200)]
Now that we don't create a new event context, don't free it.

This previously would free the torture provided global event context.

Andrew Bartlett
(This used to be commit 664f2fc49f32a081f14638571ee0db01a7863347)

12 years agoRemove unused arguments from reg_open_local().
Jelmer Vernooij [Tue, 15 Apr 2008 23:32:54 +0000 (01:32 +0200)]
Remove unused arguments from reg_open_local().
(This used to be commit fee7ea7080ec40182efc6ffe57b267444eb9389a)

12 years agoFix -r test, knownfailure return code.
Jelmer Vernooij [Tue, 15 Apr 2008 23:10:20 +0000 (01:10 +0200)]
Fix -r test, knownfailure return code.
(This used to be commit 4f0954905a902381e66eec74fd30ff7adde232b8)

12 years agoMention the actual exit code when a suite failed.
Jelmer Vernooij [Tue, 15 Apr 2008 22:17:03 +0000 (00:17 +0200)]
Mention the actual exit code when a suite failed.
(This used to be commit 46ad68ad0b9c604a6519de68c9bce8f5154b5c14)

12 years agoMerge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress...
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:36 +0000 (00:05 +0200)]
Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
(This used to be commit 56340a5fa1b075001bba829686861a59406e1f5d)

12 years agoFix executable bit on blackbox ndrdump tests.
Jelmer Vernooij [Tue, 15 Apr 2008 22:05:12 +0000 (00:05 +0200)]
Fix executable bit on blackbox ndrdump tests.
(This used to be commit a3f0e4151bd87399a8bab9b71bad36bdc53c365c)