docs-xml: Update manpage for "kernel share modes" option
authorChristof Schmitt <cs@samba.org>
Mon, 13 Sep 2021 20:25:09 +0000 (13:25 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 14 Sep 2021 23:14:36 +0000 (23:14 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
docs-xml/smbdotconf/locking/kernelsharemodes.xml

index 134fffc271402bc9495cde3ede3676b6b383e2e5..d06f7924aad044d1f66fd6d9aa1c1d03cd0d09b0 100644 (file)
@@ -5,14 +5,14 @@
 <description>
        <para>
        This parameter controls whether SMB share modes are
-       translated into UNIX flocks.
+       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 with flocks corresponding to the SMB share modes.
-       Generally, it is very desirable to leave this enabled.
+       access corresponding to the SMB share modes. This requires
+       a file system specific VFS module with proper support.
        </para>
 
        <para>
        </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.
+       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">yes</value>
+<value type="default">no</value>
 </samba:parameter>