[Samba] smbclient error talking to Netapp with SMB 3.11 / Samba 4.7.11
Ralph Böhme
slow at samba.org
Thu Feb 14 11:10:37 UTC 2019
Hi Philipp,
On Thu, Feb 14, 2019 at 09:59:30AM +0100, Philipp Gesang via samba wrote:
>I’m not really in a position to decide whether the server or
>Samba is at fault here. Would it make sense to relax that check
>and try again?
While MS-SMB2 2.2.3 says NEGOTIATE_CONTEXT in the NegotiateContextList array
must be 8-byte-aligned, so NegotiateContextList may include padding between the
NEGOTIATE_CONTEXTs, MS-SMB2 2.2.3.1 defines the NEGOTIATE_CONTEXT.DataLength to
hold the size of Data, which does not include padding. So from that, this is a
server bug.
Otoh, Windows clients are probably able to connect to the server, so they seem
to be more forgiving.
I guess we need clarification from dochelp at MS on the matter.
-slow
--
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
GPG-Fingerprint FAE2C6088A24252051C559E4AA1E9B7126399E46
More information about the samba
mailing list