Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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_ECB
11 select CRYPTO_LIB_ARC4
12 select CRYPTO_LIB_DES
13 select CRYPTO_LIB_MD5
14 select CRYPTO_LIB_SHA256
15 select CRYPTO_LIB_SHA512
16 select CRYPTO_LIB_UTILS
17 select CRYPTO_CMAC
18 select CRYPTO_AEAD2
19 select CRYPTO_CCM
20 select CRYPTO_GCM
21 select ASN1
22 select OID_REGISTRY
23 select CRC32
24 default n
25 help
26 Choose Y here if you want to allow SMB3 compliant clients
27 to access files residing on this system using SMB3 protocol.
28 To compile the SMB3 server support as a module,
29 choose M here: the module will be called ksmbd.
30
31 You may choose to use a samba server instead, in which
32 case you can choose N here.
33
34 You also need to install user space programs which can be found
35 in ksmbd-tools, available from
36 https://github.com/cifsd-team/ksmbd-tools.
37 More detail about how to run the ksmbd kernel server is
38 available via the README file
39 (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
40
41 ksmbd kernel server includes support for auto-negotiation,
42 Secure negotiate, Pre-authentication integrity, oplock/lease,
43 compound requests, multi-credit, packet signing, RDMA(smbdirect),
44 smb3 encryption, copy-offload, secure per-user session
45 establishment via Kerberos or NTLMv2.
46
47if SMB_SERVER
48
49config SMB_SERVER_SMBDIRECT
50 bool "Support for SMB Direct protocol"
51 depends on SMB_SERVER=m && INFINIBAND && INFINIBAND_ADDR_TRANS || SMB_SERVER=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
52 select SG_POOL
53 default n
54
55 help
56 Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
57
58 SMB Direct allows transferring SMB packets over RDMA. If unsure,
59 say N.
60
61endif
62
63config SMB_SERVER_CHECK_CAP_NET_ADMIN
64 bool "Enable check network administration capability"
65 depends on SMB_SERVER
66 default y
67
68 help
69 Prevent unprivileged processes to start the ksmbd kernel server.
70
71config SMB_SERVER_KERBEROS5
72 bool "Support for Kerberos 5"
73 depends on SMB_SERVER
74 default y