summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_read.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-18s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
2011-09-18s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher1-1/+12
smb2cli_req_recv() This gives the caller more control and correctly reports unexpected errors to the caller, instead of return NT_STATUS_INVALID_NETWOR_RESPONSE metze
2011-09-07s3:smb2cli: SMB2_READ needs one dyn byte to that the structure size check works.Stefan Metzmacher1-1/+2
Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
2011-08-12s3:smb2cli: pass more fields to smb2cli_req_create()/smb2cli_req_send()Stefan Metzmacher1-1/+5
The caller should take care of the global cli_state values. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 19:38:27 CEST 2011 on sn-devel-104
2011-07-09s3:smb2cli_base: fix memory hierachy in smb2cli_req_recv()Stefan Metzmacher1-4/+5
We need to use talloc_reference() if there're more than one response, but we use it in a way that the caller can't call talloc_free() or talloc_unlink() on it. metze
2011-07-08s3:libsmb: add smb2cli_read*()Stefan Metzmacher1-0/+163
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze