Directory Files
.. 79
mgmt 10
File Size
Kconfig 2.0 kB
Makefile 916 B
asn1.c 7.8 kB
asn1.h 808 B
auth.c 30 kB
auth.h 2.3 kB
connection.c 9.6 kB
connection.h 5.8 kB
crypto_ctx.c 5.5 kB
crypto_ctx.h 2.0 kB
glob.h 1.2 kB
ksmbd.mod.c 0 B
ksmbd_netlink.h 11 kB
ksmbd_spnego_negtokeninit.asn1 579 B
ksmbd_spnego_negtokeninit.asn1.c 0 B
ksmbd_spnego_negtokentarg.asn1 335 B
ksmbd_spnego_negtokentarg.asn1.c 0 B
ksmbd_work.c 1.7 kB
ksmbd_work.h 3.3 kB
misc.c 6.8 kB
misc.h 1.2 kB
ndr.c 9.8 kB
ndr.h 743 B
nterr.h 31 kB
ntlmssp.h 5.7 kB
oplock.c 46 kB
oplock.h 4.0 kB
server.c 14 kB
server.h 1.5 kB
smb2misc.c 13 kB
smb2ops.c 11 kB
smb2pdu.c 230 kB
smb2pdu.h 49 kB
smb_common.c 16 kB
smb_common.h 17 kB
smbacl.c 39 kB
smbacl.h 6.6 kB
smbfsctl.h 4.9 kB
smbstatus.h 108 kB
transport_ipc.c 21 kB
transport_ipc.h 1.8 kB
transport_rdma.c 56 kB
transport_rdma.h 1.7 kB
transport_tcp.c 14 kB
transport_tcp.h 338 B
unicode.c 10 kB
unicode.h 8.4 kB
uniupr.h 12 kB
vfs.c 45 kB
vfs.h 7.5 kB
vfs_cache.c 15 kB
vfs_cache.h 4.4 kB
xattr.h 3.4 kB

Linux v5.15-rc5 - ksmbd

config SMB_SERVER
	tristate "SMB3 server support (EXPERIMENTAL)"
	depends on INET
	depends on MULTIUSER
	depends on FILE_LOCKING
	select NLS
	select NLS_UTF8
	select CRYPTO
	select CRYPTO_MD4
	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
	select ASN1
	select OID_REGISTRY
	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
	  in ksmbd-tools, available from
	  https://github.com/cifsd-team/ksmbd-tools.
	  More detail about how to run the ksmbd kernel server is
	  available via README file
	  (https://github.com/cifsd-team/ksmbd-tools/blob/master/README).

	  ksmbd kernel server includes support for auto-negotiation,
	  Secure negotiate, Pre-authentication integrity, oplock/lease,
	  compound requests, multi-credit, packet signing, RDMA(smbdirect),
	  smb3 encryption, copy-offload, secure per-user session
	  establishment via NTLM or NTLMv2.

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
	select SG_POOL
	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.

config SMB_SERVER_CHECK_CAP_NET_ADMIN
	bool "Enable check network administration capability"
	depends on SMB_SERVER
	default y

	help
	  Prevent unprivileged processes to start the ksmbd kernel server.

config SMB_SERVER_KERBEROS5
	bool "Support for Kerberos 5"
	depends on SMB_SERVER
	default n