WSL2-Linux-Kernel/fs/ksmbd
Namjae Jeon 39b291b86b ksmbd: return unsupported error on smb1 mount
ksmbd disconnect connection when mounting with vers=smb1.
ksmbd should send smb1 negotiate response to client for correct
unsupported error return. This patch add needed SMB1 macros and fill
NegProt part of the response for smb1 negotiate response.

Cc: stable@vger.kernel.org
Reported-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
2023-03-24 00:23:13 -05:00
..
mgmt ksmbd: Implements sess->rpc_handle_list as xarray 2023-01-29 18:10:42 -06:00
Kconfig ksmbd: update Kconfig to note Kerberos support and fix indentation 2023-01-30 20:49:30 -06:00
Makefile
asn1.c ksmbd: Remove duplicated codes 2023-01-30 20:49:30 -06:00
asn1.h
auth.c ksmbd: fix wrong signingkey creation when encryption is AES256 2023-03-22 16:32:50 -05:00
auth.h
connection.c ksmbd: return unsupported error on smb1 mount 2023-03-24 00:23:13 -05:00
connection.h ksmbd: don't terminate inactive sessions after a few seconds 2023-03-22 16:38:33 -05:00
crypto_ctx.c
crypto_ctx.h
glob.h
ksmbd_netlink.h ksmbd: add max connections parameter 2023-01-20 15:27:48 -06:00
ksmbd_spnego_negtokeninit.asn1
ksmbd_spnego_negtokentarg.asn1
ksmbd_work.c
ksmbd_work.h ksmbd: fix typo, syncronous->synchronous 2023-01-30 20:49:16 -06:00
misc.c
misc.h
ndr.c fs.idmapped.v6.3 2023-02-20 11:53:11 -08:00
ndr.h fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmap 2023-01-19 09:24:29 +01:00
nterr.h
ntlmssp.h
oplock.c fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmap 2023-01-19 09:24:29 +01:00
oplock.h
server.c ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs 2022-12-11 08:33:32 -06:00
server.h ksmbd: add max connections parameter 2023-01-20 15:27:48 -06:00
smb2misc.c ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length 2023-02-15 00:04:38 -06:00
smb2ops.c smb3: Replace smb2pdu 1-element arrays with flex-arrays 2023-02-20 17:25:43 -06:00
smb2pdu.c ksmbd: fix possible refcount leak in smb2_open() 2023-03-22 16:38:33 -05:00
smb2pdu.h ksmbd: limit pdu length size according to connection status 2023-01-25 18:22:54 -06:00
smb_common.c ksmbd: return unsupported error on smb1 mount 2023-03-24 00:23:13 -05:00
smb_common.h ksmbd: return unsupported error on smb1 mount 2023-03-24 00:23:13 -05:00
smbacl.c fs: port vfs{g,u}id helpers to mnt_idmap 2023-01-19 09:24:30 +01:00
smbacl.h fs: port vfs{g,u}id helpers to mnt_idmap 2023-01-19 09:24:30 +01:00
smbfsctl.h
smbstatus.h
transport_ipc.c ksmbd: add max connections parameter 2023-01-20 15:27:48 -06:00
transport_ipc.h
transport_rdma.c ksmbd: don't terminate inactive sessions after a few seconds 2023-03-22 16:38:33 -05:00
transport_rdma.h
transport_tcp.c ksmbd: don't terminate inactive sessions after a few seconds 2023-03-22 16:38:33 -05:00
transport_tcp.h
unicode.c
unicode.h
uniupr.h
vfs.c ten smb3 server fixes, including three for stable 2023-02-22 14:17:27 -08:00
vfs.h fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00
vfs_cache.c ten smb3 server fixes, including three for stable 2023-02-22 14:17:27 -08:00
vfs_cache.h
xattr.h