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

simo idra at samba.org
Thu Mar 22 18:52:01 GMT 2007


On Thu, 2007-03-22 at 18:35 +0100, Alain.Gorlier at altissemiconductor.com
wrote:
> >> Nope. Won't happen. Share modes are share modes and byte
> >> range locks are byte range locks. We will not add code that
> >> mixes those two. This is really something the app must take
> >> care of.
> 
> I understand your point of view.
> But, we do/can NOT want to modify our OS2 applications.
> So, we have to keep OS2 deny mode method and migrate OS2 SMB clients 1 by 
> 1 to Linux NFS client with no loss of file integrity...
> Then, we are thinking about modifying Samba server code to "emulate" deny 
> modes with byte range locks....
> 
> Any idea about another way to resolve this point ?

If you require OS2/SMB semantics I do not understand why you want to
move to Linux/NFS.
Just move to linux/CIFS, and you will not have to worry or modify
anything.

Just my 2c.
Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba mailing list