smb2 leases

This boolean option tells smbd whether to globally negotiate SMB2 leases on file open requests. Leasing is an SMB2-only feature which allows clients to aggressively cache files locally above and beyond the caching allowed by SMB1 oplocks.
This is only available with yes and no.
Note that the write cache won't be used for file handles with a smb2 write lease.

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

smb2 leases
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\smb2 leases
Value Namesmb2 leases
Value TypeREG_DWORD
Default Value1
True Value1
False Value0

samba.admx

Administrative Templates (Computers)