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.
|Registry Path||Software\Policies\Samba\smb_conf\smb2 leases|
|Value Name||smb2 leases|