summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_glue.c
Commit message (Collapse)AuthorAgeFilesLines
* Add function smbd_smb2_unread_bytes().Jeremy Allison2013-04-191-0/+12
| | | | | | | | Returns number of bytes left to read for recvfile. Will be used in SMB_2_WRITE_FILE code path. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan (metze) Metzmacher <metze@samba.org>
* If we already have an smb1req attached to the struct smbd_smb2_request, ↵Jeremy Allison2013-04-191-3/+7
| | | | | | | don't recreate it. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan (metze) Metzmacher <metze@samba.org>
* s3:smb2_glue: make use of SMBD_SMB2_IN_HDR_PTR()Stefan Metzmacher2012-08-051-4/+1
| | | | metze
* s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2Stefan Metzmacher2012-06-251-3/+3
| | | | | | | | | The removes the protocol specific smbd_smb2_session and smbd_smb2_tcon. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
* s3:smb2_server: remember the request_time on an incoming requestStefan Metzmacher2012-06-151-0/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 15 09:17:33 CEST 2012 on sn-devel-104
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: Remove a direct reference to smbd_server_connVolker Lendecke2010-08-081-1/+1
|
* s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_requestVolker Lendecke2010-06-121-0/+1
|
* Fix a valgrind error found by SMB2-COMPOUND test.Jeremy Allison2010-06-081-0/+20
| | | | | | | | If a file is closed we must also NULL out all chained_fsp pointers when the fsp is freed to prevent invalid pointer access. Jeremy.
* Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2.Jeremy Allison2010-04-221-32/+0
| | | | | | | | Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy.
* Move to using 64-bit mid values in our internal open file database.Jeremy Allison2010-04-121-17/+5
| | | | | | | This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy
* Plumb SMB2 stubs into all the places we defer SMB1 operations.Jeremy Allison2010-04-091-0/+32
| | | | | | | | Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy.
* Stop smb2 from calling into smb1 blocking lock request code.Jeremy Allison2010-04-081-0/+14
| | | | | | | | | | | Allocate a uint16_t internal SMB1 mid for an SMB2 request. Add a back pointer from the faked up smb_request struct to the smb2 request. Getting ready to add restart code for blocking locks, share mode violations and oplocks in SMB2. Jeremy.
* libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher2009-08-121-1/+1
| | | | | | This will hold code that's shared between source3 and source4. metze
* s3:smbd: keep the chain_fsp for SMB2 requestsStefan Metzmacher2009-06-051-0/+1
| | | | metze
* s3:smbd: add smbd_smb2_fake_smb_request()Stefan Metzmacher2009-06-031-0/+51
metze