summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/locking/strictlocking.xml
blob: 0394e24b28d271082dae3d088d1b9eafc897e4ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<samba:parameter name="strict locking"
                 context="S"
				 type="boolean"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>
	This is a boolean that controls the handling of file locking in the server. When this is set to <constant>yes</constant>,
	the server will check every read and write access for file locks, and deny access if locks exist. This can be slow on 
	some systems.
	</para>

	<para>
	When strict locking is disabled, the server performs file lock checks only when the client explicitly asks for them.
	</para>

	<para>
	Well-behaved clients always ask for lock checks when it is important.  So in the vast majority of cases, 
	<command moreinfo="none">strict locking = no</command> is acceptable.
	</para>
</description>
<value type="default">yes</value>
</samba:parameter>