[Samba] oplocks, kernel oplocks, kernel share modes, .. - how it all works?
Jeremy Allison
jra at samba.org
Tue Jan 24 21:03:43 UTC 2023
On Tue, Jan 24, 2023 at 09:31:06PM +0100, Ralph Boehme wrote:
>On 1/24/23 21:23, Jeremy Allison wrote:
>>If you turn on kernel oplocks = yes, I think you must also
>>set smb2 leases = no in order for this to work.
>
>see "git grep lp_kernel_oplocks". If kernel oplocks are enabled we
>don't set the leases cap in negport. Something smells fishy here...
Ah, I did do that grep, but missed that one in source3/smbd/smb2_negprot.c :-).
Wonder what client this is ? Maybe it's just ignoring
the SMB2_CAP_LEASING flag ?
More information about the samba
mailing list