]> 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)
commit1e041193725753b5149cc717cec5ca75f31fc598
tree108f320f469ede330410f57b2c534bcbe583bbce
parent75361354c1b20b6bcfe945b3bf30f6d26853c201
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