Günther Deschner
8c24ebf371
s3: include smbd/smbd.h where needed.
...
Guenther
2011-03-30 01:13:08 +02:00
Jeremy Allison
321d7a6303
Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added).
...
Jeremy.
2010-06-10 13:20:37 -07:00
Jeremy Allison
3c0eead9fd
Split out the "finished write processing" code into a function so it can be called
...
by both sync and async code.
Jeremy.
2010-06-09 17:09:11 -07:00
Jeremy Allison
475531c9bb
Standardize debug messages for read and write.
...
Jeremy.
2010-05-25 11:39:46 -07:00
Jeremy Allison
af44593555
(Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from 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.
2010-05-19 19:28:26 -07:00
Jeremy Allison
5b7163a23d
Only MULTIPLE-UNLOCK test left to fix !
...
Jeremy.
2010-05-07 07:25:13 -07:00
Jeremy Allison
4a97912baf
Client ignoring max write is a warning, not an error.
...
Jeremy.
2010-05-05 09:42:45 -07:00
Jeremy Allison
9c410118cb
Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".
...
Set to 64k by default.
Jeremy.
2010-04-06 15:43:35 -07:00
Jeremy Allison
6800fdbb81
Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
...
As these always call exit_server, make that part of the function.
Use _internal functions for the echo client.
Metze please check !
Jeremy.
2010-03-31 17:40:30 -07:00
Stefan Metzmacher
d60f049eaf
s3:smbd: implement SMB2 Cancel correctly.
...
metze
2009-08-17 09:25:45 +02:00
Stefan Metzmacher
1df883aa39
libcli: move some common SMB and SMB2 stuff into libcli/smb/
...
This will hold code that's shared between source3 and source4.
metze
2009-08-12 18:28:32 +02:00
Stefan Metzmacher
9aa1d25907
s3:smbd: rename conn => sconn for smbd_server_connection structs
...
This should avoid confusion between smbd_server_connection
and connection_struct variables.
metze
2009-08-08 10:48:39 +02:00
Volker Lendecke
79fd60dd38
Fix a few uninitialized variable warnings
...
I know those warnings are bogus, but both Coverity and gcc don't get it.
2009-07-24 10:23:04 -04:00
Tim Prouty
5a8d70d465
s3: Change fsp->fsp_name to be an smb_filename struct!
2009-07-20 17:26:56 -07:00
Stefan Metzmacher
b7ea2740d5
s3:smbd: send SMB2 interim responses for async calls
...
metze
2009-06-24 21:04:57 +02:00
Stefan Metzmacher
c8b3030f40
s3:smbd: skip file handle checks for SMB2 compounded requests
...
metze
2009-06-09 19:51:02 +02:00
Stefan Metzmacher
fb750d8bcb
s3:smbd: add support for SMB2 Write on IPC$
...
metze
2009-06-05 17:53:23 +02:00
Stefan Metzmacher
d960057312
s3:smbd: add missing return statements to the SMB2 write error cases
...
metze
2009-06-05 14:32:50 +02:00
Stefan Metzmacher
360c3c4a80
s3:smbd: split smbd_smb2_write() into tevent_req based *_send()/_recv() functions
...
metze
2009-06-05 13:02:05 +02:00
Stefan Metzmacher
bfd1f5ddc6
s3:smbd: implement SMB2 Write
...
This only works on file shares.
metze
2009-06-03 17:54:40 +02:00