Some update and Fixes for typos.
[kai/samba.git] / docs / docbook / smbdotconf / locking / sharemodes.xml
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="SHAREMODES"/>share modes (S)</term>
3                 <listitem><para>This enables or disables the honoring of 
4                 the <parameter moreinfo="none">share modes</parameter> during a file open. These 
5                 modes are used by clients to gain exclusive read or write access 
6                 to a file.</para>
7
8                 <para>These open modes are not directly supported by UNIX, so
9                 they are simulated using shared memory, or lock files if your 
10                 UNIX doesn't support shared memory (almost all do).</para>
11
12                 <para>The share modes that are enabled by this option are 
13                 <constant>DENY_DOS</constant>, <constant>DENY_ALL</constant>,
14                 <constant>DENY_READ</constant>, <constant>DENY_WRITE</constant>,
15                 <constant>DENY_NONE</constant> and <constant>DENY_FCB</constant>.
16                 </para>
17
18                 <para>This option gives full share compatibility and enabled 
19                 by default.</para>
20
21                 <para>You should <emphasis>NEVER</emphasis> turn this parameter 
22                 off as many Windows applications will break if you do so.</para>
23
24                 <para>Default: <command moreinfo="none">share modes = yes</command></para>
25                 </listitem>
26                 </samba:parameter>