Debian Codegraph @

docs-xml/smbdotconf/protocol/smb2_disable_lock_sequence_checking.xml

raw
1 <samba:parameter name="smb2 disable lock sequence checking"
2 context="G"
3 type="boolean"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6 <para>This boolean parameter controls whether
7 <citerefentry><refentrytitle>smbd</refentrytitle>
8 <manvolnum>8</manvolnum></citerefentry> will disable
9 lock sequence checking even for multi-channel connections
10 as well as durable handles.
11 </para>
12
13 <para>The [MS-SMB2] specification (under 3.3.5.14 Receiving an SMB2 LOCK Request)
14 documents that a server should do lock sequence if Open.IsResilient or Open.IsDurable
15 or Open.IsPersistent is TRUE or if Connection.Dialect belongs to the SMB 3.x dialect
16 family and Connection.ServerCapabilities includes SMB2_GLOBAL_CAP_MULTI_CHANNEL.
17 </para>
18
19 <para>But Windows Server (at least up to v2004) only does these checks
20 for the Open.IsResilient and Open.IsPersistent.
21 That means they do not implement the behavior specified
22 in [MS-SMB2].</para>
23
24 <para>By default Samba behaves according to the specification
25 and implements lock sequence checking when multi-channel is used.</para>
26
27 <para>Warning: Only enable this option if existing clients can't
28 handle lock sequence checking for handles without Open.IsResilient and Open.IsPersistent.
29 And it turns out that the Windows Server behavior is required.</para>
30
31 <para>Note: it's likely that this option will be removed again
32 if future Windows versions change their behavior.</para>
33
34 <para>Note: Samba does not implement Open.IsResilient and Open.IsPersistent yet.</para>
35 </description>
36
37 <related>server multi channel support</related>
38
39 <value type="default">no</value>
40 <value type="example">yes</value>
41 </samba:parameter>