smb2 disable oplock break retry

This boolean parameter controls whether
smbd
8 will trigger
smb2 oplock break notification retries when using
yes.


The [MS-SMB2] specification documents that a server should
send smb2 oplock break notification retries on all available channel
to the given client.

But Windows Server versions (at least up to 2019) do not send
smb2 oplock break notification retries on channel failures.
That means they do not implement the behavior specified
in [MS-SMB2].

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

Warning: Only enable this option if existing clients can't
handle possible retries and it turns out that the Windows Server
behavior is required.

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

Note: this only applies to oplocks and not SMB2 leases.

Example: yes

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

smb2 disable oplock break retry
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Samba\smb_conf\smb2 disable oplock break retry
Value Namesmb2 disable oplock break retry
Value TypeREG_DWORD
Default Value0
True Value1
False Value0

samba.admx

Administrative Templates (Computers)