1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/libcli/smb
Stefan Metzmacher 127fc670a3 libcli/smb: fix smb2cli_ioctl*() against Windows 2008.
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
2013-10-31 01:16:09 +01:00
..
read_smb.c libcli/smb: move source3/libsmb/read_smb.* to the toplevel 2011-10-24 10:18:06 +02:00
read_smb.h libcli/smb: remove unused includes from read_smb.h 2011-10-25 00:24:07 +02:00
smb1cli_echo.c libcli/smb: make use of samba_tevent_context_init() 2013-02-19 23:47:44 +01:00
smb1cli_trans.c libcli/smb: make use of samba_tevent_context_init() 2013-02-19 23:47:44 +01:00
smb2_constants.h libcli/smb: add SMB3_DIALECT_REVISION_302 2013-09-17 04:00:14 +02:00
smb2_create_blob.c libcli/smb: fix unitialized padding in smb2_create_blob_push_one() (bug #9209) 2012-10-27 10:05:22 +02:00
smb2_create_blob.h libcli/smb: Change smb2cli_create() and smb2cli_create_recv() to return a parameter blob of the newly opened/created file. 2013-08-15 09:07:06 +02:00
smb2_lease.c libcli: Correct smb2_lease_pull 2013-10-06 13:55:50 +02:00
smb2_lease.h libcli: Add const to smb2_lease_pull 2013-10-06 13:55:12 +02:00
smb2_signing.c libcli/smb: smb2_signing_[en|de]crypt_pdu() check and set SMB2_TF_MSG_SIZE 2012-08-08 05:37:56 +02:00
smb2_signing.h libcli/smb: add smb2_signing_[en|e]crypt_pdu() 2012-07-23 18:19:36 +02:00
smb2cli_close.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_create.c libcli/smb: add SMB2_HDR_FLAG_DFS for SMB2 Create operations on dfs shares 2013-10-17 16:10:35 +02:00
smb2cli_echo.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_flush.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_ioctl.c libcli/smb: fix smb2cli_ioctl*() against Windows 2008. 2013-10-31 01:16:09 +01:00
smb2cli_query_directory.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_query_info.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_read.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_session.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_set_info.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb2cli_write.c libcli/smb: pass max_dyn_len to smb2cli_req_send() 2013-08-15 09:07:06 +02:00
smb_common.h libsmb: Move "struct smb2_lease" to common 2013-04-30 14:13:41 +02:00
smb_constants.h libcli/smb: move Filesystem Attributes defines to smb_constants.h 2013-10-17 16:08:29 +02:00
smb_seal.c Fix Bug 9422 - large read requests cause server to issue malformed reply 2012-11-30 03:27:07 +01:00
smb_seal.h libcli/smb: Convert struct smb_trans_enc_state to talloc 2012-01-31 20:17:10 +01:00
smb_signing.c build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
smb_signing.h libcli/smb: add smb_key_derivation() for TREE_CONNECT_ANDX_EXTENDED_SIGNATURES support 2012-08-04 09:10:21 +02:00
smb_unix_ext.h smb_unix_ext.h: Protect against multiple inclusion. 2011-09-28 12:05:54 +02:00
smb_util.h libcli/smb: add smb_buffer_oob() helper 2011-10-26 15:33:30 +02:00
smbXcli_base.c libcli/smb: add FLAG_CASELESS_PATHNAMES based on FILE_CASE_SENSITIVE_SEARCH to smb1 requests 2013-10-17 16:09:10 +02:00
smbXcli_base.h libcli/smb: add smbXcli_tcon_{set,get}_fs_attributes() 2013-10-17 16:04:35 +02:00
util.c libcli/smb: add smb_buffer_oob() helper 2011-10-26 15:33:30 +02:00
wscript libcli: Add smb2_lease marshalling 2013-04-30 14:14:18 +02:00