cifs: print warning mounting with vers=1.0
authorSteve French <stfrench@microsoft.com>
Fri, 28 Feb 2020 07:32:37 +0000 (01:32 -0600)
committerSteve French <stfrench@microsoft.com>
Mon, 23 Mar 2020 03:49:09 +0000 (22:49 -0500)
commit8fe0c2c2cb7be631576637555d712247bc86f1bf
tree702299599085113506b097a320b751d580ec2df6
parentcf5371ae460eb8e484e4884747af270c86c3c469
cifs: print warning mounting with vers=1.0

We really, really don't want people using insecure dialects
unless they realize what they are doing ...

Add mount warning if mounting with vers=1.0 (older SMB1/CIFS
dialect) instead of the default (SMB2.1 or later, typically
SMB3.1.1).

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