]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: return EACCESS when Durable Handle is reconnected with different user
authorRalph Boehme <slow@samba.org>
Fri, 8 Nov 2024 07:38:05 +0000 (08:38 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 6 Jun 2025 17:15:45 +0000 (17:15 +0000)
commitff9178b6b4ad2aff651e7897aed5cf4fe7e37c20
treef136046d3ca27969eb2acaacee7599baba36cd3e
parent0ad4cb039364b8754b5b26f97f9364693ec1b1c4
smbd: return EACCESS when Durable Handle is reconnected with different user

MS-SMB2 3.3.5.9.7 Handling the SMB2_CREATE_DURABLE_HANDLE_RECONNECT Create Context

10.  If the user represented by Session.SecurityContext is not the same user
denoted by Open.DurableOwner, the server MUST fail the request with
STATUS_ACCESS_DENIED and proceed as specified in "Failed Open Handling"

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11122

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jun  6 17:15:45 UTC 2025 on atb-devel-224
selftest/knownfail.d/samba3.smb2.durable-open [deleted file]
source3/smbd/smbXsrv_open.c