summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_server.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-08s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher1-56/+56
This should avoid confusion between smbd_server_connection and connection_struct variables. metze
2009-07-24Fix a few uninitialized variable warningsVolker Lendecke1-1/+1
I know those warnings are bogus, but both Coverity and gcc don't get it.
2009-07-10s3:smbd: fix parsing of invalid SMB2 requests.Stefan Metzmacher1-2/+2
Because of 0 - 2 => 0xFFFFFFFE, we got EMSGSIZE from the tstream layer. And terminate the transport connection. Instead we should let the caller deal with the invalid parameter, when checking the body size. So the caller always gets at least a 2 byte body. metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Lock supportStefan Metzmacher1-1/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) supportStefan Metzmacher1-1/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only)Stefan Metzmacher1-1/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 SetInfo supportStefan Metzmacher1-1/+1
metze
2009-07-02s3:smbd: add marshalling layer for SMB2 GetInfo supportStefan Metzmacher1-1/+1
metze
2009-07-02s3:smbd: add support for SMB2 NotifyStefan Metzmacher1-1/+1
metze
2009-06-24s3:smbd: add support for async interim SMB2 responses and prepare SMB2 cancelStefan Metzmacher1-1/+155
metze
2009-06-24s3:smbd: keep a list of outstanding SMB2 requestsStefan Metzmacher1-28/+65
metze
2009-06-24s3:smbd: add smbd_smb2_send_oplock_break()Stefan Metzmacher1-0/+88
metze
2009-06-24s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags ↵Stefan Metzmacher1-0/+7
isn't checked first metze
2009-06-09s3:smbd: only check the next_status for related requestsStefan Metzmacher1-11/+12
metze
2009-06-09s3:smbd: response with the same SMB2 flags as given by the clientStefan Metzmacher1-1/+4
...but also add the response flag. metze
2009-06-09s3:smbd: only pass the chained file handle for related compounded SMB2 requestsStefan Metzmacher1-0/+4
metze
2009-06-09s3:smbd: make sure we pad compounded SMB2 responses to 8 bytesStefan Metzmacher1-2/+47
metze
2009-06-09s3:smbd: more validation of the incoming SMB2 requestsStefan Metzmacher1-4/+94
metze
2009-06-09s3:smbd: for now ignore all non NBT Session Message requests for SMB2Stefan Metzmacher1-0/+9
metze
2009-06-09s3:smbd: don't include 1 byte padding for the dynamic buffer of SMB2 responsesStefan Metzmacher1-21/+9
It seems that Windows 2008 and Windows 7 doesn't do this anymore. metze
2009-06-05s3:smbd: fix the logic for compounded requestsStefan Metzmacher1-1/+1
metze
2009-06-05s3:smbd: only setup the dyn iovec if a a dyn blob is givenStefan Metzmacher1-2/+1
Otherwise leave the default in there, which takes care of padding for compounded requests. metze
2009-06-05s3:smbd: add support for SMB2 IoctlStefan Metzmacher1-1/+1
We don't implement any level yet. metze
2009-06-05s3:smbd: make smbd_server_connection_terminate() a macroStefan Metzmacher1-3/+5
metze
2009-06-05s3:smbd: implement smbd_smb2_request_error/done() as macros on top of the ↵Stefan Metzmacher1-20/+11
_ex() function metze
2009-06-04Change smbd_smb2_request_error() to add a __location__.Jeremy Allison1-6/+7
This allows quick identification of smb2 parsing errors. Jeremy.
2009-06-04Add NTLMSSP SPNEGO to smb2 auth. Tested with Win7.Jeremy Allison1-1/+2
Jeremy.
2009-06-03s3:smbd: implement SMB2 WriteStefan Metzmacher1-1/+1
This only works on file shares. metze
2009-06-03s3:smbd: implement SMB2 ReadStefan Metzmacher1-1/+1
This only works works on file shares. metze
2009-06-03s3:smbd: implement SMB2 FlushStefan Metzmacher1-1/+1
This works only on file shares yet. metze
2009-06-03s3:smbd: implement SMB2 CloseStefan Metzmacher1-1/+1
metze
2009-06-03s3:smbd: implement a simple version of SMB2 CreateStefan Metzmacher1-1/+1
It only work on file shares and just ignores any additional Create Context Values. metze
2009-06-03s3:smbd: create a user_struct for compat in SMB2 Session SetupStefan Metzmacher1-1/+1
metze
2009-06-03s3:smbd: remove old comment, we support SMB2 signing nowStefan Metzmacher1-2/+0
metze
2009-05-26s3:smbd: move SMB1 specific stuff into a substructure of smbd_server_connectionStefan Metzmacher1-1/+1
metze
2009-05-26s3:smbd: add support for SMB2 signingStefan Metzmacher1-42/+72
metze
2009-05-22s3:smbd: implement SMB2 Tree DisconnectStefan Metzmacher1-1/+1
metze
2009-05-22s3:smbd: implement SMB2 Tree ConnectStefan Metzmacher1-1/+53
For now this only checks if the share is present or not. metze
2009-05-22s3:smbd: SMB2 session ids are 64bit...Stefan Metzmacher1-1/+1
We only grand ids up to 0x0000000000FFFFFF, because that's what our idtree implementation can handle. But also 16777215 sessions on one tcp connection should be enough:-) metze
2009-05-22s3:smbd: implement SMB2 LogoffStefan Metzmacher1-1/+1
metze
2009-05-21s3:smbd: we want to get the next command offset and not set it...Stefan Metzmacher1-1/+1
This should also fix the build on some hosts. metze
2009-05-20s3:smbd: check the incoming session id for SMB2 requestsStefan Metzmacher1-2/+61
metze
2009-05-20s3:smbd: implement SMB2 Session Setup with raw NTLMSSPStefan Metzmacher1-1/+8
metze
2009-05-20s3:smbd: move the callback functions of smbd_smb2_request_reply() closer itselfStefan Metzmacher1-42/+42
metze
2009-05-20s3:smbd: add smbd_smb2_request_done_ex()Stefan Metzmacher1-5/+13
Some times we have to return a non-error response with status != NT_STATUS_OK. metze
2009-05-20s3:smbd: fix initialized memory in SMB2 responsesStefan Metzmacher1-4/+4
MESSAGE_ID and SESSION_ID are both 64bit. metze
2009-05-20s3:smbd: add support for SMB2 Keepalive (SMB2 Echo)Stefan Metzmacher1-0/+36
metze
2009-05-20s3:smbd: add support for SMB2 NegotiateStefan Metzmacher1-0/+2
This is not complete, but a start that makes the samba4 smb2 client happy. metze
2009-05-20s3:smbd: add infrastructure for SMB2 supportStefan Metzmacher1-0/+961
This is disabled by default and activated by "max protocol = SMB2". metze