[Samba] Samba not locking files

Marko R markoradi at yahoo.com
Thu Oct 18 08:57:47 MDT 2012


Hello,

I created the following samba share but for some reason samba is not locking the files open by other users. For example user dave open a file in the share and user slav does not get the notification that opened file is already being used by another user. I even added the locking options to the global but no luck.

[share]
comment = Main share
path = /share
guest ok = no
writable = yes
create mask = 0775
directory mask = 0755
browsable = yes
write list = dave  slav
force group = users
oplocks = yes
level2 oplocks = yes
strict locking = yes
locking = yes

System I am using is Ubuntu 12.04 LTS 64bit Server.

Thanks for any help or advise.


More information about the samba mailing list