summaryrefslogtreecommitdiff
path: root/docs-xml/smbdotconf/locking/kernelsharemodes.xml
blob: 134fffc271402bc9495cde3ede3676b6b383e2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>