0001 config SMB_SERVER
0002 tristate "SMB3 server support (EXPERIMENTAL)"
0003 depends on INET
0004 depends on MULTIUSER
0005 depends on FILE_LOCKING
0006 select NLS
0007 select NLS_UTF8
0008 select CRYPTO
0009 select CRYPTO_MD5
0010 select CRYPTO_HMAC
0011 select CRYPTO_ECB
0012 select CRYPTO_LIB_DES
0013 select CRYPTO_SHA256
0014 select CRYPTO_CMAC
0015 select CRYPTO_SHA512
0016 select CRYPTO_AEAD2
0017 select CRYPTO_CCM
0018 select CRYPTO_GCM
0019 select ASN1
0020 select OID_REGISTRY
0021 select CRC32
0022 default n
0023 help
0024 Choose Y here if you want to allow SMB3 compliant clients
0025 to access files residing on this system using SMB3 protocol.
0026 To compile the SMB3 server support as a module,
0027 choose M here: the module will be called ksmbd.
0028
0029 You may choose to use a samba server instead, in which
0030 case you can choose N here.
0031
0032 You also need to install user space programs which can be found
0033 in ksmbd-tools, available from
0034 https://github.com/cifsd-team/ksmbd-tools.
0035 More detail about how to run the ksmbd kernel server is
0036 available via README file
0037 (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
0038
0039 ksmbd kernel server includes support for auto-negotiation,
0040 Secure negotiate, Pre-authentication integrity, oplock/lease,
0041 compound requests, multi-credit, packet signing, RDMA(smbdirect),
0042 smb3 encryption, copy-offload, secure per-user session
0043 establishment via NTLM or NTLMv2.
0044
0045 config SMB_SERVER_SMBDIRECT
0046 bool "Support for SMB Direct protocol"
0047 depends on SMB_SERVER=m && INFINIBAND && INFINIBAND_ADDR_TRANS || SMB_SERVER=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
0048 select SG_POOL
0049 default n
0050
0051 help
0052 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
0053
0054 SMB Direct allows transferring SMB packets over RDMA. If unsure,
0055 say N.
0056
0057 config SMB_SERVER_CHECK_CAP_NET_ADMIN
0058 bool "Enable check network administration capability"
0059 depends on SMB_SERVER
0060 default y
0061
0062 help
0063 Prevent unprivileged processes to start the ksmbd kernel server.
0064
0065 config SMB_SERVER_KERBEROS5
0066 bool "Support for Kerberos 5"
0067 depends on SMB_SERVER
0068 default n