Tree connect for SMB3.1.1 must be signed for non-encrypted shares
authorSteve French <smfrench@gmail.com>
Tue, 13 Mar 2018 07:29:36 +0000 (02:29 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 2 Apr 2018 01:24:40 +0000 (20:24 -0500)
commit6188f28bf608ddecc2377663b0f2f709440c19ba
treea13859be080d6bb8f17e14773945a0aa1e43161a
parent262916bc69faf90104aa784d55e10760a4199594
Tree connect for SMB3.1.1 must be signed for non-encrypted shares

SMB3.1.1 tree connect was only being signed when signing was mandatory
but needs to always be signed (for non-guest users).

See MS-SMB2 section 3.2.4.1.1

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2pdu.c