]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit39be09d878983cc1b9a20cf91d510016474eb1b3
tree702299599085113506b097a320b751d580ec2df6
parent4567ffbd5b189a72e5ada60e3b7d195661154064
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