summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-05-05Fix the build after the auth/ -> auth/ntlm/ renameAndrew Bartlett8-8/+8
I need to fix up the header inclusion, but this fixes things for now. Andrew Bartlett (This used to be commit 7c07edb24b31e7dc3e9b836ec4a6680ee2b04276)
2008-05-05Move NTLM authentication details into auth/ntlmAndrew Bartlett18-82/+258
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)
2008-05-05Add a new implementation of security=server.Andrew Bartlett3-323/+184
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)
2008-05-05Allow an NTLM response to be specified into the auth subsystem.Andrew Bartlett3-18/+63
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)
2008-05-05Reorder this function in the file, so it reads bottom-up.Andrew Bartlett1-19/+18
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)
2008-05-01Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett32-52/+54
(This used to be commit 6bb4c1e6a38a842787177a399bf88f05015f5ec0)
2008-04-27Split up lcov target.Jelmer Vernooij1-2/+7
(This used to be commit 38f455e0054acc1fdaea267e03f8aad337309cf2)
2008-04-27Fix header locations.Jelmer Vernooij1-2/+2
(This used to be commit 4fc11bd97d6b65569742a7f1c695b7ecbc76919a)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij31-48/+45
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-26Fix dependencies on gensec_krb5 and the NTLMSSP code.Andrew Bartlett2-2/+2
This is so that gensec_krb5 does not depend on the NTLM authentication code. Andrew Bartlett (This used to be commit 71ec5bfb3e973bd68649a598d006efcdda18f1b6)
2008-04-25Revert to using the old CIFS connection API.Andrew Bartlett2-17/+8
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)
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)