smb2 disable lock sequence checking

This boolean parameter controls whether
8 will disable
lock sequence checking even for multi-channel connections
as well as durable handles.

The [MS-SMB2] specification (under Receiving an SMB2 LOCK Request)
documents that a server should do lock sequence if Open.IsResilient or Open.IsDurable
or Open.IsPersistent is TRUE or if Connection.Dialect belongs to the SMB 3.x dialect
family and Connection.ServerCapabilities includes SMB2_GLOBAL_CAP_MULTI_CHANNEL.

But Windows Server (at least up to v2004) only does these checks
for the Open.IsResilient and Open.IsPersistent.
That means they do not implement the behavior specified
in [MS-SMB2].

By default Samba behaves according to the specification
and sends smb2 oplock break notification retries.

Warning: Only enable this option if existing clients can't
handle lock sequence checking for handles without Open.IsResilient and Open.IsPersistent.
And it turns out that the Windows Server behavior is required.

Note: it's likely that this option will be removed again
if future Windows versions change their behavior.

Note: Samba does not implement Open.IsResilient and Open.IsPersistent yet.

Example: yes

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

smb2 disable lock sequence checking
Registry PathSoftware\Policies\Samba\smb_conf\smb2 disable lock sequence checking
Value Namesmb2 disable lock sequence checking
Default Value0
True Value1
False Value0


Administrative Templates (Computers)