xref: /linux/fs/smb/server/Kconfig (revision ec2e0fb07d789976c601bec19ecced7a501c3705)
1a848c4f1SNamjae Jeonconfig SMB_SERVER
2f5069159SSteve French	tristate "SMB3 server support"
3a848c4f1SNamjae Jeon	depends on INET
4a36abeaaSNamjae Jeon	depends on MULTIUSER
517af7d5bSNamjae Jeon	depends on FILE_LOCKING
6a848c4f1SNamjae Jeon	select NLS
7a848c4f1SNamjae Jeon	select NLS_UTF8
8089f7f59SDr. David Alan Gilbert	select NLS_UCS2_UTILS
9a848c4f1SNamjae Jeon	select CRYPTO
10a848c4f1SNamjae Jeon	select CRYPTO_MD5
11a848c4f1SNamjae Jeon	select CRYPTO_HMAC
12a848c4f1SNamjae Jeon	select CRYPTO_ECB
13*8e979aabSEric Biggers	select CRYPTO_LIB_ARC4
14a848c4f1SNamjae Jeon	select CRYPTO_LIB_DES
15eb217360SEric Biggers	select CRYPTO_LIB_SHA256
16a848c4f1SNamjae Jeon	select CRYPTO_SHA256
17a848c4f1SNamjae Jeon	select CRYPTO_CMAC
18a848c4f1SNamjae Jeon	select CRYPTO_SHA512
19a848c4f1SNamjae Jeon	select CRYPTO_AEAD2
20a848c4f1SNamjae Jeon	select CRYPTO_CCM
21a848c4f1SNamjae Jeon	select CRYPTO_GCM
22fad4161bSHyunchul Lee	select ASN1
23be29a370SWei Yongjun	select OID_REGISTRY
245d2f0b10SNamjae Jeon	select CRC32
25a848c4f1SNamjae Jeon	default n
26a848c4f1SNamjae Jeon	help
27a848c4f1SNamjae Jeon	  Choose Y here if you want to allow SMB3 compliant clients
28a848c4f1SNamjae Jeon	  to access files residing on this system using SMB3 protocol.
29a848c4f1SNamjae Jeon	  To compile the SMB3 server support as a module,
30a848c4f1SNamjae Jeon	  choose M here: the module will be called ksmbd.
31a848c4f1SNamjae Jeon
32a848c4f1SNamjae Jeon	  You may choose to use a samba server instead, in which
33a848c4f1SNamjae Jeon	  case you can choose N here.
34a848c4f1SNamjae Jeon
35a848c4f1SNamjae Jeon	  You also need to install user space programs which can be found
361a93084bSNamjae Jeon	  in ksmbd-tools, available from
371a93084bSNamjae Jeon	  https://github.com/cifsd-team/ksmbd-tools.
381a93084bSNamjae Jeon	  More detail about how to run the ksmbd kernel server is
39d280a958SSteve French	  available via the README file
401a93084bSNamjae Jeon	  (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
41a848c4f1SNamjae Jeon
421a93084bSNamjae Jeon	  ksmbd kernel server includes support for auto-negotiation,
43a848c4f1SNamjae Jeon	  Secure negotiate, Pre-authentication integrity, oplock/lease,
44a848c4f1SNamjae Jeon	  compound requests, multi-credit, packet signing, RDMA(smbdirect),
45a848c4f1SNamjae Jeon	  smb3 encryption, copy-offload, secure per-user session
46d280a958SSteve French	  establishment via Kerberos or NTLMv2.
47d280a958SSteve French
48d280a958SSteve Frenchif SMB_SERVER
49a848c4f1SNamjae Jeon
50a848c4f1SNamjae Jeonconfig SMB_SERVER_SMBDIRECT
51a848c4f1SNamjae Jeon	bool "Support for SMB Direct protocol"
52a848c4f1SNamjae Jeon	depends on SMB_SERVER=m && INFINIBAND && INFINIBAND_ADDR_TRANS || SMB_SERVER=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
530ab77745SZhang Xiaoxu	select SG_POOL
54a848c4f1SNamjae Jeon	default n
55a848c4f1SNamjae Jeon
56a848c4f1SNamjae Jeon	help
57a848c4f1SNamjae Jeon	  Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
58a848c4f1SNamjae Jeon
59a848c4f1SNamjae Jeon	  SMB Direct allows transferring SMB packets over RDMA. If unsure,
60a848c4f1SNamjae Jeon	  say N.
61a848c4f1SNamjae Jeon
62d280a958SSteve Frenchendif
63d280a958SSteve French
64a848c4f1SNamjae Jeonconfig SMB_SERVER_CHECK_CAP_NET_ADMIN
65a848c4f1SNamjae Jeon	bool "Enable check network administration capability"
66a848c4f1SNamjae Jeon	depends on SMB_SERVER
67a848c4f1SNamjae Jeon	default y
68a848c4f1SNamjae Jeon
69a848c4f1SNamjae Jeon	help
701a93084bSNamjae Jeon	  Prevent unprivileged processes to start the ksmbd kernel server.
71a848c4f1SNamjae Jeon
72a848c4f1SNamjae Jeonconfig SMB_SERVER_KERBEROS5
73a848c4f1SNamjae Jeon	bool "Support for Kerberos 5"
74a848c4f1SNamjae Jeon	depends on SMB_SERVER
75ae989ee1SNamjae Jeon	default y
76