summaryrefslogtreecommitdiff
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2020-03-05 08:56:52 +0300
committerSteve French <stfrench@microsoft.com>2020-03-23 06:49:09 +0300
commitba55344f36e9beaa3ba46830fb7e1e2fb84438c8 (patch)
tree58f85fba01cad55bece012293b96088cf7eb6345 /fs/cifs/cifspdu.h
parentf2d67931fdfe247e1b3469e24836451f41cc11f7 (diff)
downloadlinux-ba55344f36e9beaa3ba46830fb7e1e2fb84438c8.tar.xz
CIFS: Warn less noisily on default mount
The warning we print on mount about how to use less secure dialects (when the user does not specify a version on mount) is useful but is noisy to print on every default mount, and can be changed to a warn_once. Slightly updated the warning text as well to note SMB3.1.1 which has been the default which is typically negotiated (for a few years now) by most servers. "No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount." Signed-off-by: Steve French <stfrench@microsoft.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
0 files changed, 0 insertions, 0 deletions