1 <samba:parameter xmlns:samba="http://samba.org/common">
2 <term><anchor id="LOCKING"/>locking (S)</term>
3 <listitem><para>This controls whether or not locking will be
4 performed by the server in response to lock requests from the
7 <para>If <command moreinfo="none">locking = no</command>, all lock and unlock
8 requests will appear to succeed and all lock queries will report
9 that the file in question is available for locking.</para>
11 <para>If <command moreinfo="none">locking = yes</command>, real locking will be performed
14 <para>This option <emphasis>may</emphasis> be useful for read-only
15 filesystems which <emphasis>may</emphasis> not need locking (such as
16 CDROM drives), although setting this parameter of <constant>no</constant>
17 is not really recommended even in this case.</para>
19 <para>Be careful about disabling locking either globally or in a
20 specific service, as lack of locking may result in data corruption.
21 You should never need to set this parameter.</para>
23 <para>Default: <command moreinfo="none">locking = yes</command></para>