Fix SMB3.1.1 guest authentication to Samba
authorSteve French <smfrench@gmail.com>
Mon, 18 Sep 2017 23:18:45 +0000 (18:18 -0500)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:09:35 +0000 (01:09 +0000)
commit19ca615a950bdfc809c306d60b816b8384b0de8f
tree7f26936ab6adc1016976b4d1fda876750ef0237e
parent82bc7120308365a469f9ed0d03a61b4deb7378cb
Fix SMB3.1.1 guest authentication to Samba

commit 23586b66d84ba3184b8820277f3fc42761640f87 upstream.

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.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2pdu.c