1 <samba:parameter name="smb2 leases"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
7 This boolean option tells <command moreinfo="none">smbd</command> whether to
8 globally negotiate SMB2 leases on file open requests. Leasing is an SMB2-only
9 feature which allows clients to aggressively cache files locally above and
10 beyond the caching allowed by SMB1 oplocks.
14 This is only available with <smbconfoption name="oplocks">yes</smbconfoption>
15 and <smbconfoption name="kernel oplocks">no</smbconfoption>.
20 <related>oplocks</related>
21 <related>kernel oplocks</related>
22 <related>level2 oplocks</related>
23 <value type="default">yes</value>