[Samba] VFS for locking from Linux client

Frédéric Pierron frederic.pierron at thales-is.com
Thu Nov 27 07:56:26 GMT 2003


Hello,

My clients are PC Linux RH 7.3. My server too. A C application run on my
clients and access files on my shares (smbmount) with fopen. For the
moment, I couldn't manage any lock on my files when I open them with my
application from several clients with several users.
I'd like to.
So, one way may be to use a VFS on open and close.
Has anybody work on such a VFS ? If yes, I thank you to send me an
example of your code.

Fred

PS : if you have any other good idea to answer my request (lock on files
from Linux client), it will be wellcome.





More information about the samba mailing list