]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7e682f766f289887c5cbf7c0a1e4970103f01ac4
tree108f320f469ede330410f57b2c534bcbe583bbce
parente89ce1f89f62c7e527db3850a91dab3389772af3
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