2021-03-16 01:51:34 +00:00
|
|
|
config SMB_SERVER
|
2021-06-24 01:34:11 +00:00
|
|
|
tristate "SMB3 server support (EXPERIMENTAL)"
|
2021-03-16 01:51:34 +00:00
|
|
|
depends on INET
|
2021-03-30 05:43:16 +00:00
|
|
|
depends on MULTIUSER
|
2021-03-30 05:49:16 +00:00
|
|
|
depends on FILE_LOCKING
|
2021-03-16 01:51:34 +00:00
|
|
|
select NLS
|
|
|
|
select NLS_UTF8
|
|
|
|
select CRYPTO
|
|
|
|
select CRYPTO_MD5
|
|
|
|
select CRYPTO_HMAC
|
|
|
|
select CRYPTO_ECB
|
|
|
|
select CRYPTO_LIB_DES
|
|
|
|
select CRYPTO_SHA256
|
|
|
|
select CRYPTO_CMAC
|
|
|
|
select CRYPTO_SHA512
|
|
|
|
select CRYPTO_AEAD2
|
|
|
|
select CRYPTO_CCM
|
|
|
|
select CRYPTO_GCM
|
2021-04-19 08:26:15 +00:00
|
|
|
select ASN1
|
2021-05-20 13:42:11 +00:00
|
|
|
select OID_REGISTRY
|
2021-10-31 00:53:50 +00:00
|
|
|
select CRC32
|
2021-03-16 01:51:34 +00:00
|
|
|
default n
|
|
|
|
help
|
|
|
|
Choose Y here if you want to allow SMB3 compliant clients
|
|
|
|
to access files residing on this system using SMB3 protocol.
|
|
|
|
To compile the SMB3 server support as a module,
|
|
|
|
choose M here: the module will be called ksmbd.
|
|
|
|
|
|
|
|
You may choose to use a samba server instead, in which
|
|
|
|
case you can choose N here.
|
|
|
|
|
|
|
|
You also need to install user space programs which can be found
|
2021-06-24 01:34:11 +00:00
|
|
|
in ksmbd-tools, available from
|
|
|
|
https://github.com/cifsd-team/ksmbd-tools.
|
|
|
|
More detail about how to run the ksmbd kernel server is
|
2023-01-29 23:49:59 +00:00
|
|
|
available via the README file
|
2021-06-24 01:34:11 +00:00
|
|
|
(https://github.com/cifsd-team/ksmbd-tools/blob/master/README).
|
2021-03-16 01:51:34 +00:00
|
|
|
|
2021-06-24 01:34:11 +00:00
|
|
|
ksmbd kernel server includes support for auto-negotiation,
|
2021-03-16 01:51:34 +00:00
|
|
|
Secure negotiate, Pre-authentication integrity, oplock/lease,
|
|
|
|
compound requests, multi-credit, packet signing, RDMA(smbdirect),
|
|
|
|
smb3 encryption, copy-offload, secure per-user session
|
2023-01-29 23:49:59 +00:00
|
|
|
establishment via Kerberos or NTLMv2.
|
|
|
|
|
|
|
|
if SMB_SERVER
|
2021-03-16 01:51:34 +00:00
|
|
|
|
|
|
|
config SMB_SERVER_SMBDIRECT
|
|
|
|
bool "Support for SMB Direct protocol"
|
|
|
|
depends on SMB_SERVER=m && INFINIBAND && INFINIBAND_ADDR_TRANS || SMB_SERVER=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y
|
2021-04-07 04:08:07 +00:00
|
|
|
select SG_POOL
|
2021-03-16 01:51:34 +00:00
|
|
|
default n
|
|
|
|
|
|
|
|
help
|
|
|
|
Enables SMB Direct support for SMB 3.0, 3.02 and 3.1.1.
|
|
|
|
|
|
|
|
SMB Direct allows transferring SMB packets over RDMA. If unsure,
|
|
|
|
say N.
|
|
|
|
|
2023-01-29 23:49:59 +00:00
|
|
|
endif
|
|
|
|
|
2021-03-16 01:51:34 +00:00
|
|
|
config SMB_SERVER_CHECK_CAP_NET_ADMIN
|
|
|
|
bool "Enable check network administration capability"
|
|
|
|
depends on SMB_SERVER
|
|
|
|
default y
|
|
|
|
|
|
|
|
help
|
2021-06-24 01:34:11 +00:00
|
|
|
Prevent unprivileged processes to start the ksmbd kernel server.
|
2021-03-16 01:51:34 +00:00
|
|
|
|
|
|
|
config SMB_SERVER_KERBEROS5
|
|
|
|
bool "Support for Kerberos 5"
|
|
|
|
depends on SMB_SERVER
|
|
|
|
default n
|