| 1 |
<samba:parameter name="smb2 leases" |
| 2 |
context="G" |
| 3 |
type="boolean" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para> |
| 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. |
| 11 |
</para> |
| 12 |
|
| 13 |
<para> |
| 14 |
This is only available with <smbconfoption name="oplocks">yes</smbconfoption> |
| 15 |
and <smbconfoption name="kernel oplocks">no</smbconfoption>. |
| 16 |
</para> |
| 17 |
|
| 18 |
</description> |
| 19 |
|
| 20 |
<related>oplocks</related> |
| 21 |
<related>kernel oplocks</related> |
| 22 |
<related>level2 oplocks</related> |
| 23 |
<value type="default">yes</value> |
| 24 |
</samba:parameter> |