summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/locking/posixlocking.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smbdotconf/locking/posixlocking.xml')
-rw-r--r--docs/smbdotconf/locking/posixlocking.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/smbdotconf/locking/posixlocking.xml b/docs/smbdotconf/locking/posixlocking.xml
new file mode 100644
index 0000000000..3edf1f6c96
--- /dev/null
+++ b/docs/smbdotconf/locking/posixlocking.xml
@@ -0,0 +1,16 @@
+<samba:parameter name="posix locking"
+ type="boolean"
+ context="S"
+ xmlns:samba="http://samba.org/common">
+<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).
+ You should never need to disable this parameter.</para>
+</description>
+<value type="default">yes</value>
+</samba:parameter>