[Samba] File Locking

Alan Cheers cheersa at brunswickcc.edu
Thu Feb 22 14:31:16 GMT 2007


I'm running Samba on OpenSuse10.2 and have shared some drives with
Windows clients.  The clients are accessing a bunch of MS Word files on
the server and we have experienced a lot of weird file locking

Sometimes MS Word will open the file as Read-Only which is creating a
bit of a headache.  I would like to turn off file locking completely on
the Samba side and was wondering what I needed to add to the .conf

Is this enough?

oplocks = No
level2 oplocks = No

Also, if I turn off the file locking on Samba and not on the clients
via the registry, what kind of behaviour might I expect?

Thanks for any input.


More information about the samba mailing list