summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/locking/kernelsharemodes.xml
blob: d06f7924aad044d1f66fd6d9aa1c1d03cd0d09b0 (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
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>