OSDN Git Service

cifs: allow disabling insecure dialects in the config
authorSteve French <stfrench@microsoft.com>
Tue, 19 Jun 2018 19:34:08 +0000 (14:34 -0500)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Aug 2018 19:15:41 +0000 (14:15 -0500)
commit7420451f6a109f7f8f1bf283f34d08eba3259fb3
treecdaf7f33cae4b08c32c6d6baae5dfa0dcfe32121
parent8505c8bfd85a260c9dc5c47e15bd8c5357fcbcd2
cifs: allow disabling insecure dialects in the config

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>
fs/cifs/Kconfig
fs/cifs/connect.c