summaryrefslogtreecommitdiffstats
path: root/source4/smb_server
Commit message (Collapse)AuthorAgeFilesLines
* Move our DC to implement mandetory signing.Andrew Bartlett2008-09-052-4/+10
| | | | | | | | | | | | | | (this does not change the file server role, and only really changes what 'server signing = auto' means) Optional signing really isn't any benifit to network security. In doing so, allow anonymous clients (if permitted by policy) to log in without signing, as Samba3 does not sign these connections (which would use an all-zero key, so pointless). Andrew Bartlett (This used to be commit 468bf839c500ed1a26ab9a358ee64a4c0a695797)
* With a windows 2008 client, even anonymous requires signing...Andrew Bartlett2008-09-051-6/+0
| | | | | Andrew Bartlett (This used to be commit a89f9818180e8fb868975c444c4d0e5aaa8d4e79)
* smb2srv: async replies with STATUS_PENDING are not signedStefan Metzmacher2008-08-141-2/+29
| | | | | | | ..., but the they may have the sign flag set. metze (This used to be commit 43e43dead030f6bffd06631007fdb162c3c6b2b5)
* smb2srv: sign replies when the request was also signedStefan Metzmacher2008-08-142-7/+4
| | | | | metze (This used to be commit dd2f4f7a491debcc30e590f571272afd99e52940)
* smb2srv: use defines instead of hex valuesStefan Metzmacher2008-08-141-3/+3
| | | | | metze (This used to be commit 7c4abf6614c47471ae005a12abe27d85890d867f)
* smb2srv: sign SMB2 Logoff repliesStefan Metzmacher2008-07-281-3/+17
| | | | | metze (This used to be commit 2844e361730a6bc640ea89d0e10059deca1ca867)
* smb2srv: correctly hold the signing state per sessionStefan Metzmacher2008-07-284-13/+31
| | | | | metze (This used to be commit 5b3ba3f3556e8031133128853cd2324ee3852aa1)
* initialise query_maximal_access here tooAndrew Tridgell2008-07-241-0/+1
| | | | (This used to be commit 4b3af09450cf33c6785a3d8fddddc68047f2e388)
* make sure we initialise query_maximal_accessAndrew Tridgell2008-07-241-0/+1
| | | | (This used to be commit 036f73d39a7ef882fd76afcd3c11eef483f6c308)
* smb_server/smb: handle incoming multi fragmented nttrans requestsStefan Metzmacher2008-07-071-16/+152
| | | | | metze (This used to be commit 9a5f7bf68b20e3b490b209b5cfc4408566320f2e)
* smb_server/smb: prepare multi fragmented nttrans requestsStefan Metzmacher2008-07-072-4/+7
| | | | | metze (This used to be commit 36a39b92d732a682e38ad4b3f733951fee4757ed)
* smb_server/smb: trans(2) setup count is uint8_tStefan Metzmacher2008-07-071-2/+3
| | | | | metze (This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)
* smb_server/smb: transs and transs2 calls have different word countsStefan Metzmacher2008-07-071-1/+12
| | | | | | | Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror). metze (This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)
* smb_server/smb: fix crash bug with fragmented trans callsStefan Metzmacher2008-07-071-13/+20
| | | | | | | | | | | | We need to use smbsrv_setup_secondary_request(req) to send the trans ack, because smbsrv_send_reply(req) destroys 'req' and the partial trans list had dead elements in the list. Also make sure the partial list element is removed by a talloc destructor. metze (This used to be commit 221f4d6e534a40b7def6e51dc6b4f9e8057d18b7)
* fixed mandatory signingAndrew Tridgell2008-06-073-2/+7
| | | | | | | Metze pointed out that if signing is mandatory in the server then we need to reject packets without the signed flag if the packet contains a session id. (This used to be commit 056f16e664e581bab1c07759e99ad4f6685c58eb)
* added server side SMB2 signingAndrew Tridgell2008-06-064-1/+59
| | | | (This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
* more updates for new info levelsAndrew Tridgell2008-06-022-4/+13
| | | | (This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
* check for requested buffer size in getinfo callAndrew Tridgell2008-05-311-0/+5
| | | | (This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
* the docs shows that this is a o16s32 blobAndrew Tridgell2008-05-301-2/+1
| | | | (This used to be commit a6d28e2b330a20e95b745966bb5eb153bdc58ed1)
* fix from WSPP SMB2 test 11Andrew Tridgell2008-05-291-1/+2
| | | | (This used to be commit 81612b7854725837e8487bf97b87bff6548b6ad3)
* added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell2008-05-291-0/+12
| | | | (This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
* implement the documented SMB2 create blobs in the serverAndrew Tridgell2008-05-281-6/+70
| | | | | | Not all of them are honoured yet, but they are all parsed and the ones that have SMB equivalents are honoured (This used to be commit 9fc70e2ed6a54f6d9a0530f4d37c0f8acadb6778)
* make sure we send a reply packet for bad create optionsAndrew Tridgell2008-05-281-1/+2
| | | | (This used to be commit f9b94f62998aef5f5f3879ac3cfba93016fa521b)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpcJelmer Vernooij2008-05-261-0/+5
|\ | | | | | | (This used to be commit e1af9708c9b40edfa21862028672882797218174)
| * stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell2008-05-261-0/+5
| | | | | | | | (This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
* | Cope with no server being active.Jelmer Vernooij2008-05-261-2/+2
|/ | | | (This used to be commit 893119bb4c9c297966d43d37fe73faa747b7c86e)
* fix make test for EAs againAndrew Tridgell2008-05-231-2/+2
| | | | | | | - go back to 4 byte alignment until I work out the rules that Vista wants more exactly - add the zero sized EA handling for SMB2 more generically (This used to be commit 326b69bc8064cbea357864cecd6bd27b50c57184)
* pass in the required alignment to the EA construction routinesAndrew Tridgell2008-05-221-2/+2
| | | | (This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
* fixed parsing of the SMB2 ALL_INFO qfileinfo levelAndrew Tridgell2008-05-221-1/+2
| | | | (This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)
* badly formed SMB2 packets get NT_STATUS_INVALID_PARAMETERAndrew Tridgell2008-05-221-2/+2
| | | | (This used to be commit 1c5dd2d1b655218f875a4e512ed3e94fee624fe4)
* fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell2008-05-211-4/+3
| | | | (This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
* fixed SMB2 lockingAndrew Tridgell2008-05-212-9/+23
| | | | | | | | | - SMB2 locking is different in several ways from SMB locking. To fix it properly we will need a new generic mapping structure for locking, but for now do a best effort mapping - added locking to gentest_smb2 (This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
* Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell2008-05-193-8/+10
|\ | | | | | | (This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
| * Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-183-4/+4
| | | | | | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
| * Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-183-4/+6
| | | | | | | | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
| * Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-183-4/+4
| | | | | | | | (This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
* | fixed warningAndrew Tridgell2008-05-161-1/+2
| | | | | | | | (This used to be commit d5165ed7a77120f42c25c4997be2630f0f1cb98c)
* | fixed file_index referenceAndrew Tridgell2008-05-161-1/+1
| | | | | | | | (This used to be commit edb4b38ed33b545d8024f45c602d3f5e4a74c511)
* | better match WSPP doc name for find flagsAndrew Tridgell2008-05-151-1/+1
|/ | | | (This used to be commit 0e4b8602dec3ec87676c91a99371e5d77fe78196)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-256-121/+171
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * smb_server/smb2: handle incoming oplock releasesStefan Metzmacher2008-04-191-1/+30
| | | | | | | | | | metze (This used to be commit 2306394dcc22ff2be8581256a5cf91eef4993078)
| * Flag smb messages array with AND_X and LARGE_REQUESTAmin Azez2008-04-181-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)
| * Re-order smbsrv_recv_smb_request and smb_messagesAmin Azez2008-04-181-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)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2008-04-172-3/+5
| |\ | | | | | | | | | (This used to be commit 3ab9abf40605a4a6b220faeebaef81546a8d87a0)
| | * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij2008-04-172-3/+7
| | |\ | | | | | | | | | | | | (This used to be commit ece878c1f9251b83598508e23ce0015b4db72f0a)
| | * | Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-172-3/+5
| | | | | | | | | | | | | | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
| * | | fix the overflow/wrap checks in Samba4 for new gcc optimisation behaviorAndrew Tridgell2008-04-171-3/+3
| | |/ | |/| | | | | | | | | | | | | 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)
| * | make smb2 read and write size configurableAndrew Tridgell2008-04-171-3/+6
| | | | | | | | | | | | (This used to be commit 2090e75e0c28f8d2aada305059bdb455f42ed0d5)
| * | smb_server/smb2: initialize new create.in.blobs element untill it'll be ↵Stefan Metzmacher2008-04-171-0/+1
| |/ | | | | | | | | | | | | supported metze (This used to be commit fbfbd74e65b1f3e185f08a538bdd50ba7c6ce9bf)
| * Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2008-04-143-19/+25
| | | | | | | | (This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)