summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrique Carvalho <henrique.carvalho@suse.com>2024-11-12 13:22:51 -0300
committerHenrique Carvalho <henrique.carvalho@suse.com>2024-11-12 13:22:51 -0300
commite49466488423051343e5b185978c838c65b6f2c9 (patch)
tree59b508294d8fea0f89a69f5324e1767d5fa9e05c
parent050e6d11f580ff4b5a5615b0622a3adf21454cfc (diff)
downloadlinux-e49466488423051343e5b185978c838c65b6f2c9.tar.gz
linux-e49466488423051343e5b185978c838c65b6f2c9.tar.bz2
linux-e49466488423051343e5b185978c838c65b6f2c9.zip
smb: remove CIFS_ALLOW_INSECURE_LEGACY and CIFS_POSIX from Kconfig
Signed-off-by: Henrique Carvalho <henrique.carvalho@suse.com>
-rw-r--r--fs/smb/client/Kconfig27
1 files changed, 0 insertions, 27 deletions
diff --git a/fs/smb/client/Kconfig b/fs/smb/client/Kconfig
index 2517dc242386..3b453f4f82e6 100644
--- a/fs/smb/client/Kconfig
+++ b/fs/smb/client/Kconfig
@@ -67,21 +67,6 @@ config CIFS_STATS2
If unsure, say Y.
-config CIFS_ALLOW_INSECURE_LEGACY
- bool "Support legacy servers which use less secure dialects"
- depends on CIFS
- default y
- help
- Modern dialects, SMB2.1 and later (including SMB3 and 3.1.1), have
- additional security features, including protection against
- man-in-the-middle attacks and stronger crypto hashes, so the use
- of legacy dialects (SMB1/CIFS and SMB2.0) is discouraged.
-
- Disabling this option prevents users from using vers=1.0 or vers=2.0
- on mounts with cifs.ko
-
- If unsure, say Y.
-
config CIFS_UPCALL
bool "Kerberos/SPNEGO advanced session setup"
depends on CIFS
@@ -106,18 +91,6 @@ config CIFS_XATTR
If unsure, say Y.
-config CIFS_POSIX
- bool "CIFS POSIX Extensions"
- depends on CIFS && CIFS_ALLOW_INSECURE_LEGACY && CIFS_XATTR
- help
- Enabling this option will cause the cifs client to attempt to
- negotiate a feature of the older cifs dialect with servers, such as
- Samba 3.0.5 or later, that optionally can handle more POSIX like
- (rather than Windows like) file behavior. It also enables support
- for POSIX ACLs (getfacl and setfacl) to servers (such as Samba 3.10
- and later) which can negotiate CIFS POSIX ACL support. This config
- option is not needed when mounting with SMB3.1.1. If unsure, say N.
-
config CIFS_DEBUG
bool "Enable CIFS debugging routines"
default y