OpenCloudOS-Kernel/fs/smb/server/mgmt
Nandor Kracser 5698ba6932 ksmbd: ignore trailing slashes in share paths
commit 405ee4097c4bc3e70556520aed5ba52a511c2266 upstream.

Trailing slashes in share paths (like: /home/me/Share/) caused permission
issues with shares for clients on iOS and on Android TV for me,
but otherwise they work fine with plain old Samba.

Cc: stable@vger.kernel.org
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-12 11:11:21 +02:00
..
ksmbd_ida.c
ksmbd_ida.h
share_config.c ksmbd: ignore trailing slashes in share paths 2024-06-12 11:11:21 +02:00
share_config.h ksmbd: fix `force create mode' and `force directory mode' 2023-08-29 12:30:20 -05:00
tree_connect.c ksmbd: fix race condition between tree conn lookup and disconnect 2023-10-04 21:56:28 -05:00
tree_connect.h ksmbd: fix race condition between tree conn lookup and disconnect 2023-10-04 21:56:28 -05:00
user_config.c
user_config.h ksmbd: Remove unused field in ksmbd_user struct 2024-01-05 15:19:37 +01:00
user_session.c ksmbd: add support for durable handles v1/v2 2024-05-25 16:22:49 +02:00
user_session.h ksmbd: mark SMB2_SESSION_EXPIRED to session when destroying previous session 2024-05-25 16:22:49 +02:00