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.
oplocks
kernel oplocks
level2 oplocks
write cache size
yes