[CIFS][PATCH] Make warning when using default version (default mount) less noisy

Steve French smfrench at gmail.com
Thu Mar 5 06:03:14 UTC 2020


    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."


-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CIFS-Warn-less-noisily-on-default-mount.patch
Type: text/x-patch
Size: 2044 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20200305/28d0482c/0001-CIFS-Warn-less-noisily-on-default-mount.bin>


More information about the samba-technical mailing list