diff options
author | Steve French <smfrench@gmail.com> | 2013-11-15 23:50:24 -0600 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-11-15 23:50:24 -0600 |
commit | 0cbaa53cdd33080c1e2d67ad9295b83c7954f2b3 (patch) | |
tree | 2980f4a149b80f384ed3de6defabcd2f4974a76e /fs/cifs/smb2pdu.c | |
parent | b1d93356427be6f050dc55c86eb019d173700af6 (diff) |
[CIFS] Warn if SMB3 encryption required by server
We do not support SMB3 encryption yet, warn if server responds
that SMB3 encryption is mandatory.
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index ca7f307ad97a..d65270c290a1 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -630,6 +630,8 @@ ssetup_ntlmssp_authenticate: goto ssetup_exit; ses->session_flags = le16_to_cpu(rsp->SessionFlags); + if (ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) + cifs_dbg(VFS, "SMB3 encryption not supported yet\n"); ssetup_exit: free_rsp_buf(resp_buftype, rsp); |