Fix SMB3.1.1 guest authentication to Samba
authorSteve French <smfrench@gmail.com>
Mon, 18 Sep 2017 23:18:45 +0000 (18:18 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 20 Sep 2017 01:22:14 +0000 (20:22 -0500)
commit23586b66d84ba3184b8820277f3fc42761640f87
treed6f13477fc7175d728ea46c415ee902345910aaa
parent12fcf66e74b16b96e57fc1ce32bdf27b3a426fd0
Fix SMB3.1.1 guest authentication to Samba

Samba rejects SMB3.1.1 dialect (vers=3.1.1) negotiate requests from
the kernel client due to the two byte pad at the end of the negotiate
contexts.

CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smb2pdu.c