[Samba] oplocks, kernel oplocks, kernel share modes, .. - how it all works?

Ralph Boehme slow at samba.org
Tue Jan 24 18:11:32 UTC 2023


On 1/24/23 18:29, Michael Tokarev wrote:
> I assumed LEASE() is okay because it is in fact SMB1 oplock, not a lease,
> again as per your prior explanations. 

no, it's not. For an oplock smbstatus would print BATCH or EXCLUSIVE, cf 
source3/utils/status.c:print_share_mode().

-slow

-- 
Ralph Boehme, Samba Team                 https://samba.org/
SerNet Samba Team Lead      https://sernet.de/en/team-samba

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20230124/60332af4/OpenPGP_signature.sig>


More information about the samba mailing list