[Samba] Lock problem with 2 files opened in the same folder

Rafael Gomes rafaelgomes at techfree.com.br
Thu Dec 23 10:09:58 MST 2010


Guys,

I am getting lock error box in Officer 2007 and windows 7. It shows
the somebody is using this file, but I am sure that is not.

That problem always happens when open 2 files in the same folder.

Take a look my lock configuration:

        kernel oplocks = No
        kernel oplocks = False
        locking = Yes
        oplocks = No
        level2 oplocks = No
        oplocks = False
        level2 oplocks = False
        strict locking = No
        veto oplock files =
/*.pdf/*.PST/*.pst/*.doc/*.xls/*.docx/*.mdb/*.MDB/*.dbf/*.DBF/*.ppt/*.xlsx/
        vfs objects=recycle
        recycle:exclude= *.tmp,*.temp,*.log,*.ldb,*.TMP,?~$*,~$*
        recycle:keeptree=Yes
        recycle:exclude_dir=tmp,temp,profile,.profile
        recycle:touch_mtime=yes
        recycle:versions=Yes

Somebody told me that the problem is oplocks and I disabled it. But
don't works for me. Can you please help me?


Rafael Gomes
Consultor em TI
LPIC-1 MCSO
(71) 8318-0284
IV Encontro Nordestino de Software Livre & IV Encontro Potiguar de
Software Livre
http://ensl.org.br

Atenção: Este e-mail pode conter anexos no formato ODF (Open Document
Format)/ABNT (extensões odt, ods, odp, odb, odg). Antes de pedir os
anexos em outro formato, você pode instalar gratuita e livremente o
BrOffice (http://www.broffice.org).


More information about the samba mailing list