summaryrefslogtreecommitdiffstats
path: root/libcli/smb/smb2cli_ioctl.c
Commit message (Collapse)AuthorAgeFilesLines
* libcli/smb: fix smb2cli_ioctl*() against Windows 2008.Stefan Metzmacher2013-10-311-4/+29
| | | | | | | | | | | | | | | The subsections of [MS-SMB2] "3.2.5.14 Receiving an SMB2 IOCTL Response" say the client should ignore the InputOffset/InputCount. We do that only if we ask for max_input_length = 0. Bug: https://bugzilla.samba.org/show_bug.cgi?id=10232 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Oct 31 01:16:10 CET 2013 on sn-devel-104
* libcli/smb: pass max_dyn_len to smb2cli_req_send()Stefan Metzmacher2013-08-151-1/+12
| | | | | | | | This way we can calculate the correct credit charge for requests with large output buffers. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libcli/smb: make use of samba_tevent_context_init()Stefan Metzmacher2013-02-191-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* libcli: Fix smb2cli_ioctl_send() if clause.Andreas Schneider2012-12-211-1/+1
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* libcli/smb: use an explicit TALLOC_FREE(subreq) in smb2cli_*Stefan Metzmacher2012-09-291-0/+1
| | | | metze
* libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher2012-07-251-1/+0
| | | | | | It's a reserved field... metze
* libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher2012-07-251-6/+1
| | | | metze
* libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()Stefan Metzmacher2012-07-241-3/+8
| | | | metze
* s3:smb2cli_ioctl: fix requests without output_buffer.length > 0 against windowsStefan Metzmacher2012-05-291-1/+1
| | | | | | This fixes DCERPC over SMB2 against windows servers. metze
* libcli/smb: move smb2cli_ioctl.c from source3 to the toplevelBjörn Baumbach2012-05-151-0/+335
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 15 20:17:01 CEST 2012 on sn-devel-104