summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-25Make the composite 'connect to server' code useful for security=serverAndrew Bartlett3-14/+35
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)
2008-04-25Don't compile files twice when the compilation fails.Andrew Bartlett1-2/+1
Andrew Bartlett (This used to be commit 53ea233649d12d77233611e272cf5f470177571c)
2008-04-25When a test harness program fails, make the testsuite fail.Andrew Bartlett1-1/+5
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)
2008-04-25Remove vampire.py as the 'net' binary is the right interface.Andrew Bartlett1-53/+0
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)
2008-04-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett6-33/+98
(This used to be commit 2c3a3d0134b5fe4cd9dfdb05d1b140b2c9b502f1)
2008-04-24Add comment explaining why io.in.workgroup isn't important.Andrew Bartlett1-0/+5
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)
2008-04-24Add documentation to session token functions.Andrew Bartlett2-5/+16
(This used to be commit ec4a108d1d35cd4bb2170f1bb122546266b9b745)
2008-04-24Remove unused KANJI and terminal code options.Andrew Bartlett1-9/+0
Someone can re-add this with tests and an actual implementation. Andrew Bartlett (This used to be commit 62136febe7bb1122a57737ca43d1ed0800453d77)
2008-04-24libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuidKai Blin6-33/+98
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
2008-04-23testsuite: skip RAW-BENCH-LOOKUP by default.James Peach1-0/+1
(This used to be commit 8a8449c95336d8019e9105fba6ef09473aae813b)
2008-04-23Revert "Add port number for ncacn_http epmapper."Simo Sorce1-1/+1
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)
2008-04-22Fix more failing tests to pass the event context.Simo Sorce4-10/+10
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
2008-04-22Remove temporary debug statementSimo Sorce1-2/+0
(This used to be commit 10780e638af8afc3ffa261255200779aea732694)
2008-04-22Fix event context initialization for Python bindings.Jelmer Vernooij1-1/+5
(This used to be commit 132efc779ede27898765320a13bdde0b5256102b)
2008-04-22Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij1-1/+1
(This used to be commit 10a1a53d8beb56b7e12149c50e2685a1578413b9)
2008-04-22fix an extrasemi compile warningBjörn Jacke1-1/+1
(This used to be commit 47e8ef4f6aa91ed0b069a1890cb1f853b4e9b879)
2008-04-22Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij64-247/+605
(This used to be commit 1e38de45640430be002053b8bd52b615184134ba)
2008-04-21Make sure we have an event context availableSimo Sorce1-0/+7
(This used to be commit b7c96e0cc270bd3b1c9bd117a22df3f657b6acd5)
2008-04-21Fix buildSimo Sorce1-0/+1
(This used to be commit c16d1d430a0f1e3643c1e769b10e9d88b4719d17)
2008-04-22Add port number for ncacn_http epmapper.Jelmer Vernooij1-1/+1
(This used to be commit 1304362b3754960f68fb56e0915c3d80cace6e60)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce60-247/+275
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)
2008-04-21smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.James Peach3-0/+322
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)
2008-04-21Load default smb.conf file if none was specified explicitly.Jelmer Vernooij4-29/+70
(This used to be commit 8fa23fac516dbf4c8245c1d009e81f02a6341775)
2008-04-19Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett13-116/+500
(This used to be commit 13a0941d3432dc7dae552048265ad1e762b781d4)
2008-04-19SMB2-PERSISTENT-HANDLES1: close the handle before deleting itStefan Metzmacher1-0/+2
This means we no longer have a oplock break timing out for the "delete". metze (This used to be commit 50f6a72b674f58a24c1a6c42e4dd56dc4e9f5a1e)
2008-04-19torture/smb2: add a simple SMB2-OPLOCK-BATCH1 testStefan Metzmacher3-1/+181
metze (This used to be commit 914f0ac83bc396be0ca34c43e2ea01ecc1c3b826)
2008-04-19ntvfs_generic: map RAW_LOCK_SMB2_BREAK to RAW_LOCK_GENERICStefan Metzmacher1-0/+17
metze (This used to be commit b781bb733c9a563457f87c94abe8c91b426c07ee)
2008-04-19smb_server/smb2: handle incoming oplock releasesStefan Metzmacher1-1/+30
metze (This used to be commit 2306394dcc22ff2be8581256a5cf91eef4993078)
2008-04-19libcli/smb2: make it possible to handle incoming oplock requestsStefan Metzmacher2-0/+54
metze (This used to be commit 58189b87eade62b717c2c17c679e482786bf2098)
2008-04-19libcli/smb2: add smb2_break() callsStefan Metzmacher2-1/+75
metze (This used to be commit 7f545dbbf0186fe552e4c49a3f618862cb4771e7)
2008-04-19libcli: define structure for SMB2 BreakStefan Metzmacher1-1/+16
metze (This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
2008-04-19ntvfs_generic: fix mapping the granted oplocks for SMB2Stefan Metzmacher1-3/+3
metze (This used to be commit 60c4a4fc1afe88716ac63d3ea430e07fea7b9991)
2008-04-19build: fix the build rule for .o filesStefan Metzmacher1-1/+3
metze (This used to be commit c7f34f41c3f9f0c3f75a618dfaf566706014a6b4)
2008-04-18Flag smb messages array with AND_X and LARGE_REQUESTAmin Azez1-10/+21
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)
2008-04-18Re-order smbsrv_recv_smb_request and smb_messagesAmin Azez1-99/+99
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)
2008-04-18Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett2-4/+2
(This used to be commit e8da1559f7282127264c671c485e812f669b97ba)
2008-04-18fixed a double free in winbind Andrew Tridgell1-1/+0
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)
2008-04-18Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-9/+11
(This used to be commit e2489de8de7d6e4839f29166f1881df3550a502d)
2008-04-18change the default idmap range to 3M -> 4MAndrew Tridgell1-3/+2
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)
2008-04-18Fix samba3 protocol to correctly include the NULL terminatorAndrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit fa459913039673e55aa9300962f01e5079dd20d8)
2008-04-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett15-28/+85
(This used to be commit 43fc10aaa7c3d50cb9fee5ecab859103aec4a62e)
2008-04-17More endian fixes in the registryAndrew Bartlett1-5/+5
(This used to be commit b26662be196a84237543eb90d6e08809489df3a9)
2008-04-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell6-25/+94
(This used to be commit c73a3b837ec16fbb846c6e63a45599fca99b3d0b)
2008-04-17Fix typoAndrew Bartlett1-1/+1
(This used to be commit ba6546504505f19abaa5aa35fe3e469ddfd3d619)
2008-04-17More work to avoid endian bugs in registry tests.Andrew Bartlett1-5/+7
Andrew Bartlett (This used to be commit 500544f4127d4042ab5ea8e3800156246982c297)
2008-04-17nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0Stefan Metzmacher1-6/+4
metze (This used to be commit 0e2f6d481b3e35ed392b2b3340b244c77593819c)
2008-04-17libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ↵Stefan Metzmacher3-0/+58
ntlogon packets metze (This used to be commit 690c12cd2afd0fba626576fbae3f28ffdae63be2)
2008-04-17Fix bug in registry test on big-endian machines.Andrew Bartlett2-19/+32
Andrew Bartlett (This used to be commit c74c67c38383b43efd707934e8c457b757e49db1)
2008-04-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell129-380/+524
(This used to be commit 3ab9abf40605a4a6b220faeebaef81546a8d87a0)
2008-04-17fix the overflow/wrap checks in Samba4 for new gcc optimisation behaviorAndrew Tridgell4-13/+13
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)