summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/locking/kernelsharemodes.xml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:20:00 +0000
commit8daa83a594a2e98f39d764422bfbdbc62c9efd44 (patch)
tree4099e8021376c7d8c05bdf8503093d80e9c7bad0 /docs-xml/smbdotconf/locking/kernelsharemodes.xml
parentInitial commit. (diff)
downloadsamba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.tar.xz
samba-8daa83a594a2e98f39d764422bfbdbc62c9efd44.zip
Adding upstream version 2:4.20.0+dfsg.upstream/2%4.20.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs-xml/smbdotconf/locking/kernelsharemodes.xml')
-rw-r--r--docs-xml/smbdotconf/locking/kernelsharemodes.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/locking/kernelsharemodes.xml b/docs-xml/smbdotconf/locking/kernelsharemodes.xml
new file mode 100644
index 0000000..d06f792
--- /dev/null
+++ b/docs-xml/smbdotconf/locking/kernelsharemodes.xml
@@ -0,0 +1,32 @@
+<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 file system specific sharemode calls.
+ </para>
+
+ <para>
+ Kernel share modes provide a minimal level of interoperability
+ with local UNIX processes and NFS operations by preventing
+ access corresponding to the SMB share modes. This requires
+ a file system specific VFS module with proper support.
+ </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>no</constant>. Setting
+ it to <constant>yes</constant> requires a file system module
+ that supports file system sharemodes, otherwise attempts to
+ access files will fail with a sharing violation.
+ </para>
+</description>
+
+<value type="default">no</value>
+</samba:parameter>