cifs: allow disabling insecure dialects in the config
authorSteve French <stfrench@microsoft.com>
Tue, 19 Jun 2018 19:34:08 +0000 (14:34 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Jan 2019 08:37:07 +0000 (09:37 +0100)
commitbfbd7e95b6b531d159c0e9615e04f8320ff21487
treebccd0cc757795fa19c7d10c08452c92fe52887ef
parentde616eb216055ed367c7ecda073d8e8b9fb90a81
cifs: allow disabling insecure dialects in the config

commit 7420451f6a109f7f8f1bf283f34d08eba3259fb3 upstream.

allow disabling cifs (SMB1 ie vers=1.0) and vers=2.0 in the
config for the build of cifs.ko if want to always prevent mounting
with these less secure dialects.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Cc: Alakesh Haloi <alakeshh@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/Kconfig
fs/cifs/connect.c