]> git.ipfire.org Git - thirdparty/samba.git/commit
smbtorture: correctly handle scale-out shares in smb2.durable-v2-open.create-blob
authorRalph Boehme <slow@samba.org>
Fri, 28 Feb 2025 05:15:26 +0000 (06:15 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 10 Oct 2025 15:59:35 +0000 (15:59 +0000)
commitccae8981d60ba34c0d1c03e052d8aca89f1a5bbd
tree2c6f9fbeac713c9685a164e8580e3989800acea7
parent5f8aaf9bcc0fa9891c72adf40e296e1cd2f7a826
smbtorture: correctly handle scale-out shares in smb2.durable-v2-open.create-blob

On a share with SMB2_SHARE_CAP_SCALEOUT capability the cluster doesn't
grant batch oplocks, at most level-II oplocks and it also doesn't
grant durable-handles (v1 or v2) as they require an RWH-lease.

With this change the test passes against Windows Server 2025.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/torture/smb2/durable_v2_open.c