Next update of VFS modules development guide
[kai/samba-autobuild/.git] / docs-xml / smbdotconf / protocol / defersharingviolations.xml
1 <samba:parameter name="defer sharing violations"
2                  context="G"
3                  type="boolean"
4                  developer="1"
5                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <description>
7         <para>
8         Windows allows specifying how a file will be shared with 
9         other processes when it is opened. Sharing violations occur when 
10         a file is opened by a different process using options that violate 
11         the share settings specified by other processes. This parameter causes
12         smbd to act as a Windows server does, and defer returning a "sharing
13         violation" error message for up to one second, allowing the client
14         to close the file causing the violation in the meantime.
15         </para>
16
17         <para>UNIX by default does not have this behaviour.</para>
18
19         <para>
20         There should be no reason to turn off this parameter, as it is
21         designed to enable Samba to more correctly emulate Windows.
22         </para>
23 </description>
24
25 <value type="default">True</value>
26 </samba:parameter>