| 1 |
<samba:parameter name="posix locking" |
| 2 |
type="boolean" |
| 3 |
context="S" |
| 4 |
parm="1" |
| 5 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 6 |
<description> |
| 7 |
<para> |
| 8 |
The <citerefentry><refentrytitle>smbd</refentrytitle> <manvolnum>8</manvolnum></citerefentry> |
| 9 |
daemon maintains an database of file locks obtained by SMB clients. The default behavior is |
| 10 |
to map this internal database to POSIX locks. This means that file locks obtained by SMB clients are |
| 11 |
consistent with those seen by POSIX compliant applications accessing the files via a non-SMB |
| 12 |
method (e.g. NFS or local file access). It is very unlikely that you need to set this parameter |
| 13 |
to "no", unless you are sharing from an NFS mount, which is not a good idea in the first place. |
| 14 |
</para> |
| 15 |
</description> |
| 16 |
<value type="default">yes</value> |
| 17 |
</samba:parameter> |