ksmbd: update Kconfig to note Kerberos support and fix indentation

[ Upstream commit d280a958f8 ]

Fix indentation of server config options, and also since
support for very old, less secure, NTLM authentication was removed
(and quite a while ago), remove the mention of that in Kconfig, but
do note Kerberos (not just NTLMv2) which are supported and much
more secure.

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Steve French
2023-12-31 16:12:28 +09:00
committed by Greg Kroah-Hartman
parent 5c0306b0ab
commit ada8bcc48a

View File

@@ -33,14 +33,16 @@ config SMB_SERVER
in ksmbd-tools, available from in ksmbd-tools, available from
https://github.com/cifsd-team/ksmbd-tools. https://github.com/cifsd-team/ksmbd-tools.
More detail about how to run the ksmbd kernel server is More detail about how to run the ksmbd kernel server is
available via README file available via the README file
(https://github.com/cifsd-team/ksmbd-tools/blob/master/README). (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
ksmbd kernel server includes support for auto-negotiation, ksmbd kernel server includes support for auto-negotiation,
Secure negotiate, Pre-authentication integrity, oplock/lease, Secure negotiate, Pre-authentication integrity, oplock/lease,
compound requests, multi-credit, packet signing, RDMA(smbdirect), compound requests, multi-credit, packet signing, RDMA(smbdirect),
smb3 encryption, copy-offload, secure per-user session smb3 encryption, copy-offload, secure per-user session
establishment via NTLM or NTLMv2. establishment via Kerberos or NTLMv2.
if SMB_SERVER
config SMB_SERVER_SMBDIRECT config SMB_SERVER_SMBDIRECT
bool "Support for SMB Direct protocol" bool "Support for SMB Direct protocol"
@@ -54,6 +56,8 @@ config SMB_SERVER_SMBDIRECT
SMB Direct allows transferring SMB packets over RDMA. If unsure, SMB Direct allows transferring SMB packets over RDMA. If unsure,
say N. say N.
endif
config SMB_SERVER_CHECK_CAP_NET_ADMIN config SMB_SERVER_CHECK_CAP_NET_ADMIN
bool "Enable check network administration capability" bool "Enable check network administration capability"
depends on SMB_SERVER depends on SMB_SERVER