s3:lib: make use of samba_tevent_context_init()
[Samba/gebeck_regimport.git] / docs-xml / smbdotconf / locking / kernelsharemodes.xml
blob5b64b775b1c0ce4327c4997798c79cdb12a5738b
1 <samba:parameter name="kernel share modes"
2                  type="boolean"
3                  context="S"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6         <para>
7         This parameter controls whether SMB share modes are
8         translated into UNIX flocks.
9         </para>
11         <para>
12         Kernel share modes provide a minimal level of interoperability
13         with local UNIX processes and NFS operations by preventing
14         access with flocks corresponding to the SMB share modes.
15         Generally, it is very desirable to leave this enabled.
16         </para>
18         <para>
19         Note that in order to use SMB2 durable file handles on a share,
20         you have to turn kernel share modes off.
21         </para>
23         <para>
24         This parameter defaults to <constant>yes</constant> and
25         is translated to a no-op on systems that do not have the
26          necessary kernel flock support.
27         </para>
28 </description>
30 <value type="default">yes</value>
31 </samba:parameter>