[Samba] file locking options in smb.conf

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue May 5 10:36:04 GMT 2009


On Tue, May 05, 2009 at 02:42:57AM -0700, Anoop P.A. wrote:
> Hi List,
> 
>  
> 
> I have a file server which runs samba-3.0.28a. My aim is to share a logical volume ( with XFS filesystem) using SAMBA, NFS and FTP. Since it is a file server I’m very much concerned about file locking. After googling and reading a lot I had set file locking flags in smb.conf 
> 
>  
> 
> lock directory = /var/lock/samba
> 
> strict locking = no
> 
> locking = yes
> 
> level2 oplocks = no
> 
> kernel oplocks = yes
> 
> oplocks = yes
> 
>  
> 
> But still I am having lots of problems in file locking. Following conditions are not working as expected

Question: What do you expect with which applications?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20090505/722bbff1/attachment.bin


More information about the samba mailing list