summaryrefslogtreecommitdiffstats
path: root/source3/smbd/smb2_read.c
Commit message (Collapse)AuthorAgeFilesLines
* lib/param: Merge struct loadparm_service into commonAndrew Bartlett2011-07-081-1/+1
| | | | | | | | | | | | | | | | | This is handled by a common header and a .c file that is included into both loadparm.c files. In the process, _lp functions were renamed to lp__ to allow the common function definition declarations to be used by source3 and source4 (which have different macro definitions). The only parameter to change type is 'strict_locking' which was a bool, and is now an int, to accommodate the 'Auto' value from source3. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jul 8 12:35:56 CEST 2011 on sn-devel-104
* s3:smb2_ioctl/FSCTL_PIPE_TRANSCEIVE: generate STATUS_BUFFER_OVERFLOW if ↵Stefan Metzmacher2011-06-241-0/+5
| | | | | | | | | | | needed (bug #8260) This should fix DCERPC responses with fragments larger than 1024 bytes. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 11:25:36 CEST 2011 on sn-devel-104
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett2011-05-311-1/+1
| | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
* s3-proto: move more rpc_server prototypes out of proto.hGünther Deschner2011-05-021-0/+1
| | | | Guenther
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-291-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* Implement "use sendfile = yes" for SMB2. (cherry picked from commit ↵Jeremy Allison2010-12-151-0/+148
| | | | | | | 95cb7adcd03a1abbd0af395b6c96dd8e0eebd3d1) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 02:24:08 CET 2010 on sn-devel-104
* Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB.Jeremy Allison2010-12-151-6/+14
| | | | | | | | | Change smb2_read code to allocate return DATA_BLOB just before the read. Preparing for SMB2 sendfile change which will not need to allocate return buffer. Jeremy
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added).Jeremy Allison2010-06-101-0/+28
| | | | Jeremy.
* Split out the "finished read processing" code into a function so it can be ↵Jeremy Allison2010-06-091-36/+75
| | | | | | | | called by both sync and async code. Jeremy.
* Standardize debug messages for read and write.Jeremy Allison2010-05-251-0/+6
| | | | Jeremy.
* (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from ↵Jeremy Allison2010-05-191-1/+1
| | | | | | | | | | | | 64-bit Vista client It turns out that the persistent handles are used by the Microsoft redirector to index files on oplock break requests. So even if we don't do durable handles (yet) we must set the persistent handle on create. For now just use the same handle value as we use for volatile. Jeremy.
* Only MULTIPLE-UNLOCK test left to fix !Jeremy Allison2010-05-071-1/+1
| | | | Jeremy.
* Return correct error on read request on directory.Jeremy Allison2010-05-051-0/+4
| | | | Jeremy.
* Get in_minimum and EOF errors right.Jeremy Allison2010-05-051-1/+11
| | | | Jeremy.
* Start to pass the SMB2 read torture tests.Jeremy Allison2010-05-051-1/+1
| | | | Jeremy.
* Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".Jeremy Allison2010-04-061-2/+2
| | | | | | Set to 64k by default. Jeremy.
* Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.Jeremy Allison2010-03-311-0/+8
| | | | | | | | | As these always call exit_server, make that part of the function. Use _internal functions for the echo client. Metze please check ! Jeremy.
* s3:smbd: implement SMB2 Cancel correctly.Stefan Metzmacher2009-08-171-5/+1
| | | | metze
* 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: rename conn => sconn for smbd_server_connection structsStefan Metzmacher2009-08-081-4/+4
| | | | | | | This should avoid confusion between smbd_server_connection and connection_struct variables. metze
* Fix a few uninitialized variable warningsVolker Lendecke2009-07-241-2/+2
| | | | I know those warnings are bogus, but both Coverity and gcc don't get it.
* s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2009-07-201-2/+2
|
* s3:smbd: send SMB2 interim responses for async callsStefan Metzmacher2009-06-241-0/+5
| | | | metze
* s3:smbd: skip file handle checks for SMB2 compounded requestsStefan Metzmacher2009-06-091-1/+3
| | | | metze
* s3:smbd: add support for SMB2 Read on IPC$Stefan Metzmacher2009-06-051-6/+52
| | | | metze
* s3:smbd: add missing return statements to the SMB2 read error casesStefan Metzmacher2009-06-051-0/+2
| | | | metze
* s3:smbd: split smbd_smb2_read() into tevent_req based *_send()/_recv() functionsStefan Metzmacher2009-06-051-61/+148
| | | | metze
* s3:smbd: implement SMB2 ReadStefan Metzmacher2009-06-031-0/+207
This only works works on file shares. metze