libsmb2 icon indicating copy to clipboard operation
libsmb2 copied to clipboard

Add support to lease and notify

Open lskvcxz opened this issue 1 year ago • 1 comments

Hi, libsmb2 currently does not support negotiating leases with samba servers, nor does it support initiating notify listening events and receiving or parsing notify messages. We hope to add support in this area

lskvcxz avatar Jul 23 '24 09:07 lskvcxz

Sounds good. I would suggest you start with adding the low level SMB2 function calls to do this. Then to surface this to applications.... There is no posix interface for this but I feel like having a layer that mimics the linux inotify interface would work well here. Try to do that.

libsmb2 is not thread-safe at the moment so you may want to limit its use to only be available for the async interface.

sahlberg avatar Jul 23 '24 10:07 sahlberg

This should be added now.

sahlberg avatar Jan 03 '25 01:01 sahlberg