[Samba] Oplocks go on and on and on

John H Terpstra jht at samba.org
Fri May 2 16:22:06 GMT 2003


On Fri, 2 May 2003, Scott Lambdin wrote:

> Dear folks:
>
>   I have the problem where MS programs cannot do
> oplocks correctly
> and I have been told to turn off oplocks on the linux
> samba server.   The problem does not go away when I
> put these lines in smb.conf:
>
>    oplocks = no
>    kernel oplocks = no
>    level2 oplocks = no
>
> What am I missing, please?

You are most likely missing the information that is in the chapter on
locking in the new HOWTO I am working on. You may find this "work in
progress" document at:

	http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf

I hope it helps. If not, please let me know so that by the time the
document is finished it WILL have everything needed for the next person
who asks your type of question.

Cheers,
John T.

>
> --Doremi Fasolatido
>
> /usr/local/samba/bin/testparm | grep -i lock
>
> 	kernel oplocks = No
> 	lock spin count = 3
> 	lock spin time = 10
> 	oplock break wait time = 0
> 	lock dir = /usr/local/samba/var/locks
> 	pid directory = /usr/local/samba/var/locks
> 	block size = 1024
> 	veto oplock files =
> 	blocking locks = Yes
> 	fake oplocks = No
> 	locking = Yes
> 	oplocks = No
> 	level2 oplocks = No
> 	oplock contention limit = 2
> 	posix locking = Yes
> 	strict locking = No
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>

-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list