Merge tag 'rcu-fixes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic...
[linux-block.git] / fs / smb / server / Kconfig
CommitLineData
a848c4f1 1config SMB_SERVER
f5069159 2 tristate "SMB3 server support"
a848c4f1 3 depends on INET
a36abeaa 4 depends on MULTIUSER
17af7d5b 5 depends on FILE_LOCKING
a848c4f1
NJ
6 select NLS
7 select NLS_UTF8
089f7f59 8 select NLS_UCS2_UTILS
a848c4f1 9 select CRYPTO
a848c4f1
NJ
10 select CRYPTO_MD5
11 select CRYPTO_HMAC
a848c4f1
NJ
12 select CRYPTO_ECB
13 select CRYPTO_LIB_DES
14 select CRYPTO_SHA256
15 select CRYPTO_CMAC
16 select CRYPTO_SHA512
17 select CRYPTO_AEAD2
18 select CRYPTO_CCM
19 select CRYPTO_GCM
fad4161b 20 select ASN1
be29a370 21 select OID_REGISTRY
5d2f0b10 22 select CRC32
a848c4f1
NJ
23 default n
24 help
25 Choose Y here if you want to allow SMB3 compliant clients
26 to access files residing on this system using SMB3 protocol.
27 To compile the SMB3 server support as a module,
28 choose M here: the module will be called ksmbd.
29
30 You may choose to use a samba server instead, in which
31 case you can choose N here.
32
33 You also need to install user space programs which can be found
1a93084b
NJ
34 in ksmbd-tools, available from
35 https://github.com/cifsd-team/ksmbd-tools.
36 More detail about how to run the ksmbd kernel server is
d280a958 37 available via the README file
1a93084b 38 (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
a848c4f1 39
1a93084b 40 ksmbd kernel server includes support for auto-negotiation,
a848c4f1
NJ
41 Secure negotiate, Pre-authentication integrity, oplock/lease,
42 compound requests, multi-credit, packet signing, RDMA(smbdirect),
43 smb3 encryption, copy-offload, secure per-user session
d280a958
SF
44 establishment via Kerberos or NTLMv2.
45
46if SMB_SERVER
a848c4f1
NJ
47
48config SMB_SERVER_SMBDIRECT
49 bool "Support for SMB Direct protocol"
50 depends on SMB_SERVER=m && INFINIBAND && INFINIBAND_ADDR_TRANS || SMB_SERVER=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
0ab77745 51 select SG_POOL
a848c4f1
NJ
52 default n
53
54 help
55 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
56
57 SMB Direct allows transferring SMB packets over RDMA. If unsure,
58 say N.
59
d280a958
SF
60endif
61
a848c4f1
NJ
62config SMB_SERVER_CHECK_CAP_NET_ADMIN
63 bool "Enable check network administration capability"
64 depends on SMB_SERVER
65 default y
66
67 help
1a93084b 68 Prevent unprivileged processes to start the ksmbd kernel server.
a848c4f1
NJ
69
70config SMB_SERVER_KERBEROS5
71 bool "Support for Kerberos 5"
72 depends on SMB_SERVER
73 default n