Add new framework for smb.conf(5). Please read README before trying to compile.
[Samba/gebeck_regimport.git] / docs / docbook / smbdotconf / locking / locking.xml
blobaa27027a112b8b3645a7b5307aba3a3b13ea1a68
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 
5                 client.</para>
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 
12                 by the server.</para>
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>
24                 </listitem>
25                 </samba:parameter>