xref: /linux/fs/smb/server/Kconfig (revision 61a09cfc121472013f99ae75066676739a5db626)
1config SMB_SERVER
2	tristate "SMB3 server support"
3	depends on INET
4	depends on MULTIUSER
5	depends on FILE_LOCKING
6	select NLS
7	select NLS_UTF8
8	select NLS_UCS2_UTILS
9	select CRYPTO
10	select CRYPTO_LIB_AES_CBC_MACS
11	select CRYPTO_LIB_ARC4
12	select CRYPTO_LIB_MD5
13	select CRYPTO_LIB_SHA256
14	select CRYPTO_LIB_SHA512
15	select CRYPTO_LIB_UTILS
16	select CRYPTO_AEAD2
17	select CRYPTO_CCM
18	select CRYPTO_GCM
19	select ASN1
20	select OID_REGISTRY
21	select CRC32
22	default n
23	help
24	  Choose Y here if you want to allow SMB3 compliant clients
25	  to access files residing on this system using SMB3 protocol.
26	  To compile the SMB3 server support as a module,
27	  choose M here: the module will be called ksmbd.
28
29	  You may choose to use a samba server instead, in which
30	  case you can choose N here.
31
32	  You also need to install user space programs which can be found
33	  in ksmbd-tools, available from
34	  https://github.com/cifsd-team/ksmbd-tools.
35	  More detail about how to run the ksmbd kernel server is
36	  available via the README file
37	  (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
38
39	  ksmbd kernel server includes support for auto-negotiation,
40	  Secure negotiate, Pre-authentication integrity, oplock/lease,
41	  compound requests, multi-credit, packet signing, RDMA(smbdirect),
42	  smb3 encryption, copy-offload, secure per-user session
43	  establishment via Kerberos or NTLMv2.
44
45if SMB_SERVER
46
47config SMB_SERVER_SMBDIRECT
48	bool "Support for SMB Direct protocol"
49	depends on SMB_SERVER && INFINIBAND && INFINIBAND_ADDR_TRANS
50	depends on SMB_SERVER=m || INFINIBAND=y
51	select SMBDIRECT
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
60endif
61
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
68	  Prevent unprivileged processes to start the ksmbd kernel server.
69
70config SMB_SERVER_KERBEROS5
71	bool "Support for Kerberos 5"
72	depends on SMB_SERVER
73	default y
74