1 <samba:parameter name="blocking locks"
3 xmlns:samba="http://samba.org/common">
5 <para>This parameter controls the behavior
6 of <citerefentry><refentrytitle>smbd</refentrytitle>
7 <manvolnum>8</manvolnum></citerefentry> when given a request by a client
8 to obtain a byte range lock on a region of an open file, and the
9 request has a time limit associated with it.</para>
11 <para>If this parameter is set and the lock range requested
12 cannot be immediately satisfied, samba will internally
13 queue the lock request, and periodically attempt to obtain
14 the lock until the timeout period expires.</para>
16 <para>If this parameter is set to <constant>no</constant>, then
17 samba will behave as previous versions of Samba would and
18 will fail the lock request immediately if the lock range
19 cannot be obtained.</para>
21 <para>Default: <command moreinfo="none">blocking locks = yes</command></para>