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
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Samba\smb_conf\smb2 disable oplock break retry |
Value Name | smb2 disable oplock break retry |
Value Type | REG_DWORD |
Default Value | 0 |
True Value | 1 |
False Value | 0 |