]> git.baikalelectronics.ru Git - kernel.git/commit
Fix warning messages when mounting to older servers
authorSteve French <smfrench@gmail.com>
Fri, 1 Sep 2017 02:34:24 +0000 (21:34 -0500)
committerSteve French <smfrench@gmail.com>
Fri, 1 Sep 2017 05:18:44 +0000 (00:18 -0500)
commit61df0fe1dc6dd4e4f8b8f764ec47b42032d20c5d
tree108f320f469ede330410f57b2c534bcbe583bbce
parent004a1b958fa19e0828ffda617f9a92cb8995a942
Fix warning messages when mounting to older servers

When mounting to older servers, such as Windows XP (or even Windows 7),
the limited error messages that can be passed back to user space can
get confusing since the default dialect has changed from SMB1 (CIFS) to
more secure SMB3 dialect. Log additional information when the user chooses
to use the default dialects and when the server does not support the
dialect requested.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/connect.c
fs/cifs/smb2pdu.c