libcli/smb: allow unexpected padding in SMB2 IOCTL responses
authorStefan Metzmacher <metze@samba.org>
Thu, 14 Jan 2021 16:32:15 +0000 (17:32 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 15 Jan 2021 08:36:34 +0000 (08:36 +0000)
commit4c6c71e1378401d66bf2ed230544a75f7b04376f
tree422888033885a024f594a4bc35a3868e1bdf3897
parent39c0d2b666a6ddac7cd3b29fe76be7375690b27b
libcli/smb: allow unexpected padding in SMB2 IOCTL responses

A NetApp Ontap 7.3.7 SMB server add 8 padding bytes to an
offset that's already 8 byte aligned.

RN: Work around special SMB2 IOCTL response behavior of NetApp Ontap 7.3.7
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14607

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jan 15 08:36:34 UTC 2021 on sn-devel-184
libcli/smb/smb2cli_ioctl.c
selftest/knownfail.d/samba3.smb2.ioctl.bug14607 [deleted file]