summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-04-17 22:35:57 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:17 -0500
commit6b5c92603c3c6738cf9b8b974da5fad6226914b7 (patch)
treeb8f08a4c2a1de825bf3613f79b01930c0705d497 /docs/smbdotconf/locking
parent08ca0c821156ac2af364e0f704043b48a755f491 (diff)
downloadsamba-6b5c92603c3c6738cf9b8b974da5fad6226914b7.tar.gz
samba-6b5c92603c3c6738cf9b8b974da5fad6226914b7.tar.bz2
samba-6b5c92603c3c6738cf9b8b974da5fad6226914b7.zip
Document default change from "yes" to "auto".
Jeremy. (This used to be commit 66f046b6390302472b5e377478913ce971eee3bf)
Diffstat (limited to 'docs/smbdotconf/locking')
-rw-r--r--docs/smbdotconf/locking/strictlocking.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/smbdotconf/locking/strictlocking.xml b/docs/smbdotconf/locking/strictlocking.xml
index 0394e24b28..4aa337cc93 100644
--- a/docs/smbdotconf/locking/strictlocking.xml
+++ b/docs/smbdotconf/locking/strictlocking.xml
@@ -1,22 +1,29 @@
<samba:parameter name="strict locking"
context="S"
- type="boolean"
+ type="enum"
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>,
+ This is an enumberated type 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 set to Auto (the default), the server performs file lock checks only on non-oplocked files.
+ As most Windows redirectors perform file locking checks locally on oplocked files this is a good trade off for
+ inproved performance.
+ </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 = Auto</command> or
<command moreinfo="none">strict locking = no</command> is acceptable.
</para>
</description>
-<value type="default">yes</value>
+<value type="default">Auto</value>
</samba:parameter>