]> git.ipfire.org Git - thirdparty/samba.git/commit
s4: torture: Add new SMB2 lease test test_lease_duplicate_open().
authorJeremy Allison <jra@samba.org>
Thu, 17 Feb 2022 18:58:32 +0000 (10:58 -0800)
committerJule Anger <janger@samba.org>
Mon, 7 Mar 2022 13:04:15 +0000 (13:04 +0000)
commit4d80d0e33fc7f9c5ca89a2c9db86f307d12de488
treeefc419b48abe90e049db828dd9daa2423078f085
parent5b67cf9fbbf14d4b46de7f1a567d8781187a5264
s4: torture: Add new SMB2 lease test test_lease_duplicate_open().

Checks we return INVALID_PARAMETER when trying to open a
different file with a duplicate lease key on the same share.

Checked against Windows10. Currently fails against smbd
so add knownfail.d/smb2-lease-duplicateopen

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
(cherry picked from commit ca3896b6f8bbcad68f042720feceedfa29ddbd83)
selftest/knownfail.d/smb2-lease-duplicateopen [new file with mode: 0644]
source4/torture/smb2/lease.c