]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: fix breaking leases on rename
authorRalph Boehme <slow@samba.org>
Thu, 10 Oct 2024 17:29:09 +0000 (19:29 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 31 Oct 2024 12:47:24 +0000 (12:47 +0000)
commitefbbe8d6f80ceb6107f20486623eee949409c0ff
tree4f48e25dad0f58f32de1310c8b1cbb248b35832e
parentbc2d87981967bc65155ba09eb5b3e3f913bec50e
smbd: fix breaking leases on rename

We must also break leases on other opens if the open of the rename doesn't have
a lease itself. The existing test test_lease_v2_rename() that was added
alongside the deferred rename server code didn't cover this case.

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

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): Thu Oct 31 12:47:24 UTC 2024 on atb-devel-224
selftest/knownfail.d/samba3.smb2.compound_async [deleted file]
source3/smbd/smb2_setinfo.c