summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-09-10 00:56:14 +0200
committerMichael Adam <obnox@samba.org>2012-09-10 01:06:51 +0200
commit24914531fc86f7fe45537ab2e63db88031d94787 (patch)
treee1048a83bfadfbdcf968f494a56b4fed8a4b95b0 /docs-xml
parent4811e5852b3848f17b6eb920b7781fda287c9189 (diff)
downloadsamba-24914531fc86f7fe45537ab2e63db88031d94787.tar.gz
samba-24914531fc86f7fe45537ab2e63db88031d94787.tar.bz2
samba-24914531fc86f7fe45537ab2e63db88031d94787.zip
docs: add desciption of new parameter "kernel share modes" to the smb.conf manpage
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/smbdotconf/locking/kernelsharemodes.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/locking/kernelsharemodes.xml b/docs-xml/smbdotconf/locking/kernelsharemodes.xml
new file mode 100644
index 0000000000..5b64b775b1
--- /dev/null
+++ b/docs-xml/smbdotconf/locking/kernelsharemodes.xml
@@ -0,0 +1,31 @@
+<samba:parameter name="kernel share modes"
+ type="boolean"
+ context="S"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>
+ This parameter controls whether SMB share modes are
+ translated into UNIX flocks.
+ </para>
+
+ <para>
+ Kernel share modes provide a minimal level of interoperability
+ with local UNIX processes and NFS operations by preventing
+ access with flocks corresponding to the SMB share modes.
+ Generally, it is very desirable to leave this enabled.
+ </para>
+
+ <para>
+ Note that in order to use SMB2 durable file handles on a share,
+ you have to turn kernel share modes off.
+ </para>
+
+ <para>
+ This parameter defaults to <constant>yes</constant> and
+ is translated to a no-op on systems that do not have the
+ necessary kernel flock support.
+ </para>
+</description>
+
+<value type="default">yes</value>
+</samba:parameter>