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