[Samba] File Locking

Robin Edgar - Tripany red at tripany.com
Mon Feb 26 13:31:17 GMT 2007


profile acls = Yes

in the [globals] section caused my problem. Removing it solved the
problem.


Thursday, February 22, 2007, 3:31:16 PM, schreef jij:

> Hi-

> 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
> problems.

> 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
> file.

> 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.

> -Alan


             



More information about the samba mailing list