ksmbd: update Kconfig to note Kerberos support and fix indentation
authorSteve French <stfrench@microsoft.com>
Sun, 29 Jan 2023 23:49:59 +0000 (17:49 -0600)
committerSteve French <stfrench@microsoft.com>
Tue, 31 Jan 2023 02:49:30 +0000 (20:49 -0600)
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>
fs/ksmbd/Kconfig

index e1fe17747ed69cc8252c5ebe42e3222fcc61a445..7055cb5d288008fa3dab317d10117ae3367b903f 100644 (file)
@@ -33,14 +33,16 @@ config SMB_SERVER
          in ksmbd-tools, available from
          https://github.com/cifsd-team/ksmbd-tools.
          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).
 
          ksmbd kernel server includes support for auto-negotiation,
          Secure negotiate, Pre-authentication integrity, oplock/lease,
          compound requests, multi-credit, packet signing, RDMA(smbdirect),
          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
        bool "Support for SMB Direct protocol"
@@ -54,6 +56,8 @@ config SMB_SERVER_SMBDIRECT
          SMB Direct allows transferring SMB packets over RDMA. If unsure,
          say N.
 
+endif
+
 config SMB_SERVER_CHECK_CAP_NET_ADMIN
        bool "Enable check network administration capability"
        depends on SMB_SERVER