[Samba] Locked files and DOS application

Nejc Skoberne nejc.skoberne at guest.arnes.si
Fri May 9 11:40:57 GMT 2003


Hello.

I have a DOS application which works with database files. The problem is,
that Samba doesn't "unlock" the files when DOS app finishes its work.
So files stay locked:

27690  DENY_NONE  0x3         RDWR       EXCLUSIVE+BATCH  /home/samba/FAK/P_RACI03.DBT   Fri May  9 13:27:09 2003
27741  DENY_NONE  0x3         RDWR       NONE             /home/samba/FAK/MATPOD03.DBF   Fri May  9 13:26:06 2003
27749  DENY_NONE  0x2019f     RDWR       NONE             /home/samba/FAK/MATPOD03.DBF   Fri May  9 13:05:50 2003

However application doesn't seem to have problems with that, but when
we need to do something exclusive on that files (e.g. indexing), it won't
work, even though I quit the application and restart it. Files stay
locked. If I restart samba, everything works fine again. Anyone knows
a fix or at least a workaround?

-- 
Nejc Skoberne
Grajska ulica 5
SI-5220 Tolmin
E-mail: nejc.skoberne at guest.arnes.si



More information about the samba mailing list