smbtorture: add test smb2.dirleases.leases
commit9695cda30fc165d9afe33f770c37d862af8a0ca0
authorRalph Boehme <slow@samba.org>
Fri, 18 Oct 2024 15:19:34 +0000 (18 17:19 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 Nov 2024 14:39:31 +0000 (5 14:39 +0000)
tree56bfcb5800fec0b7e1dd93e6fe402b3fdb1568b5
parentf10bbff92809bd941a6b47b09453c195d5ba8f6f
smbtorture: add test smb2.dirleases.leases

Checks server accepts "RWH", "RH" and "R" lease request and grants at most
(lease_request & "RH"), so no "W", but "R" without "H" if requested.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/lease.c