summaryrefslogtreecommitdiff
path: root/source4/smb_server
AgeCommit message (Collapse)AuthorFilesLines
2008-10-13Fixed a variable undeclared compilation errorTim Prouty1-0/+1
Explicitly declaring environ eliminates a compilation error on some systems.
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij6-6/+6
2008-10-05smbd3 is unhappy if stderr is not openVolker Lendecke1-1/+2
2008-10-05Re-enable build of smb_samba3.c after the rename smbd->sambaVolker Lendecke1-1/+1
2008-09-30s4:smb_server/smb: FLAGS2_SMB_SECURITY_SIGNATURES should only be echoed, not ↵Stefan Metzmacher1-5/+6
set always metze
2008-09-29NetApp found that we never set the smb signing flags2.Andrew Bartlett1-0/+4
This was found during testing at the CIFS plugfest. No other client seems to honour or use this bit, but it is quite ligitimately required by the spec. Andrew Bartlett
2008-09-24we need different error handling for truncated packets in NETPROT andAndrew Tridgell1-2/+39
other SMB2 operations.
2008-09-24we should terminate the connection on a bad negprot packet sizeAndrew Tridgell1-2/+2
2008-09-24- add reserved field in basic_information levelAndrew Tridgell1-3/+25
- use INVALID_PARAMETER for info length mismatch to match windows behaviour - added parsing of LINK_INFORMATION level
2008-09-24record highest seq number in SMB2 to check for seqnum going backwardsAndrew Tridgell1-0/+2
2008-09-24cope with body_size zero in SMB2 receiveAndrew Tridgell1-1/+2
2008-09-24check for a 0 byte in the buffer in SMB2 readAndrew Tridgell1-0/+6
2008-09-24the offset is 16 bits in SMB2 fileinfoAndrew Tridgell1-1/+1
2008-09-24fixed error code for bad keepaliveAndrew Tridgell1-1/+1
2008-09-24stricter checking of SMB2 echo body (per the spec)Andrew Tridgell1-1/+6
thanks to the bluearc test suite
2008-09-24Rename smbd -> samba.Jelmer Vernooij1-1/+1
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
2008-09-23s4:smb_server: remove the bogus smbsrv_signing_restart()Stefan Metzmacher2-41/+2
Real signing always starts with seqnumber 2, and once signing is on the session key never change anymore for the complete smb connection. metze
2008-09-22Explain why we use signing for DCs, but not file serversAndrew Bartlett1-0/+9
2008-09-22process incoming connections and fork a samba3 in inetd modeStefan Metzmacher2-0/+182
2008-09-21Revert "Rename smbd -> samba."Jelmer Vernooij1-1/+1
This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
2008-09-21Rename smbd -> samba.Jelmer Vernooij1-1/+1
2008-09-05Move our DC to implement mandetory signing.Andrew Bartlett2-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)
2008-09-05With a windows 2008 client, even anonymous requires signing...Andrew Bartlett1-6/+0
Andrew Bartlett (This used to be commit a89f9818180e8fb868975c444c4d0e5aaa8d4e79)
2008-08-14smb2srv: async replies with STATUS_PENDING are not signedStefan Metzmacher1-2/+29
..., but the they may have the sign flag set. metze (This used to be commit 43e43dead030f6bffd06631007fdb162c3c6b2b5)
2008-08-14smb2srv: sign replies when the request was also signedStefan Metzmacher2-7/+4
metze (This used to be commit dd2f4f7a491debcc30e590f571272afd99e52940)
2008-08-14smb2srv: use defines instead of hex valuesStefan Metzmacher1-3/+3
metze (This used to be commit 7c4abf6614c47471ae005a12abe27d85890d867f)
2008-07-28smb2srv: sign SMB2 Logoff repliesStefan Metzmacher1-3/+17
metze (This used to be commit 2844e361730a6bc640ea89d0e10059deca1ca867)
2008-07-28smb2srv: correctly hold the signing state per sessionStefan Metzmacher4-13/+31
metze (This used to be commit 5b3ba3f3556e8031133128853cd2324ee3852aa1)
2008-07-24initialise query_maximal_access here tooAndrew Tridgell1-0/+1
(This used to be commit 4b3af09450cf33c6785a3d8fddddc68047f2e388)
2008-07-24make sure we initialise query_maximal_accessAndrew Tridgell1-0/+1
(This used to be commit 036f73d39a7ef882fd76afcd3c11eef483f6c308)
2008-07-07smb_server/smb: handle incoming multi fragmented nttrans requestsStefan Metzmacher1-16/+152
metze (This used to be commit 9a5f7bf68b20e3b490b209b5cfc4408566320f2e)
2008-07-07smb_server/smb: prepare multi fragmented nttrans requestsStefan Metzmacher2-4/+7
metze (This used to be commit 36a39b92d732a682e38ad4b3f733951fee4757ed)
2008-07-07smb_server/smb: trans(2) setup count is uint8_tStefan Metzmacher1-2/+3
metze (This used to be commit 1b507a9b8e2ede5a4eb542bdf7a0eab9269b9f7b)
2008-07-07smb_server/smb: transs and transs2 calls have different word countsStefan Metzmacher1-1/+12
Also add a note about NT_STATUS_DOS(ERRSRV, ERRerror). metze (This used to be commit 4287b7c1323796cf0688d0fae9b5bd4e840e3d48)
2008-07-07smb_server/smb: fix crash bug with fragmented trans callsStefan Metzmacher1-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)
2008-06-07fixed mandatory signingAndrew Tridgell3-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)
2008-06-06added server side SMB2 signingAndrew Tridgell4-1/+59
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
2008-06-02more updates for new info levelsAndrew Tridgell2-4/+13
(This used to be commit 85d1873ee92fcc7df3addc42ddb8189144901f8b)
2008-05-31check for requested buffer size in getinfo callAndrew Tridgell1-0/+5
(This used to be commit ed8f16379d01d3dffd2645e2b275aa27507dfec9)
2008-05-30the docs shows that this is a o16s32 blobAndrew Tridgell1-2/+1
(This used to be commit a6d28e2b330a20e95b745966bb5eb153bdc58ed1)
2008-05-29fix from WSPP SMB2 test 11Andrew Tridgell1-1/+2
(This used to be commit 81612b7854725837e8487bf97b87bff6548b6ad3)
2008-05-29added support for returning the maximal access MXAC tag in SMB2 createAndrew Tridgell1-0/+12
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
2008-05-28implement the documented SMB2 create blobs in the serverAndrew Tridgell1-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)
2008-05-28make sure we send a reply packet for bad create optionsAndrew Tridgell1-1/+2
(This used to be commit f9b94f62998aef5f5f3879ac3cfba93016fa521b)
2008-05-26Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpcJelmer Vernooij1-0/+5
(This used to be commit e1af9708c9b40edfa21862028672882797218174)
2008-05-26stricter checks for valid inputs in SMB2 open and lockAndrew Tridgell1-0/+5
(This used to be commit a7b5689a73adde59de28770aa3949660441291ea)
2008-05-26Cope with no server being active.Jelmer Vernooij1-2/+2
(This used to be commit 893119bb4c9c297966d43d37fe73faa747b7c86e)
2008-05-23fix make test for EAs againAndrew Tridgell1-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)
2008-05-22pass in the required alignment to the EA construction routinesAndrew Tridgell1-2/+2
(This used to be commit af31030e0b78b6b220740529901ec8d2d9f5a3fe)
2008-05-22fixed parsing of the SMB2 ALL_INFO qfileinfo levelAndrew Tridgell1-1/+2
(This used to be commit a7be5ba22e0cf2c61501f5a05e64673f31ba145c)