[Samba] Need some explanation on Samba/NFS locks handle

Alain.Gorlier at altissemiconductor.com Alain.Gorlier at altissemiconductor.com
Sun Mar 18 18:13:34 GMT 2007


So basic question : is NFS application able to use deny modes ?
If not, how samba could check deny mode opening a file already opened by 
an NFS client ?
Could byte range lock be a way to "share" deny modes between NFS and Samba 
? 
DENY_WRITE would be F_RDLCK ?
DENY_READ would be F_WRLCK ?

My samba clients are OS2 clients. It would be difficult to modify the 
application side. New clients are Linux/NFS : it would be easier to adapt 
the NFS linux code to correctly manage share modes between samaba & NFS.



More information about the samba mailing list