[Samba] A samba locking question

Andrew Bartlett abartlet at samba.org
Wed Feb 4 09:45:30 GMT 2004


On Wed, 2004-02-04 at 20:29, Patrik Gustavsson wrote:
> Hi,
> 
> If I get this wright is that Samba will not use
> a direct call to fcnl() to lock the file.
> 
> IE:
> If a PC open a file and do lock that file, will that
> lock be propagated so other application on the server can see that
> file is locked by calling fcntl().

Yes.

Samba will, to the best of it's ability, use fcntl() locks to indicate
SMB locks to other applications (be they local unix apps, or NFS clients
etc)

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040204/ca37a7b8/attachment.bin


More information about the samba mailing list