Locking problem
Artur
artur.stawski at jms.com.pl
Thu Mar 1 10:50:44 GMT 2001
I have the same problem, but another program. More, this program is
lounched from the samba server as well as data files. Some hints ?
Artur
> Ota Neužil wrote:
>
>
> Hi
>
> I have a problem with Samba locking files from DOS or Windows
> aplication.
> It Was tested on Samba 2.0.6, 2.0.7, 2.2.0alpha and RedHat 6.2 ,
> RedHat 7.0 , Kernel 2.2.14-6.0.1 with attached configuration.
>
>
>
> Example 1: Program Mana.exe created by VisualFoxPro 5.0 is runnig from
> Win98 local disk ( c:\mana\mana.exe)
> and data path is set to //samba/server/manager .
>
> Before I start program there will not open any files on Samba server.
>
> When is program normaly closed server status is:
>
>
> PID Sharing R/W Oplock File Date
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/manr2001.dbfTue Feb 27 17:02:44 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/mana2001.fptTue Feb 27 17:02:36 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/MANR2001.CDXTue Feb 27 17:02:44 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/manaadod.fptTue Feb 27 17:02:44 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/manaadod.dbfTue Feb 27 17:02:44 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/MANP2001.CDXTue Feb 27 17:02:44 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/manp2001.dbfTue Feb 27 17:02:44 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/MANA2001.CDXTue Feb 27 17:02:36 2001
> 2090DENY_NONE RDWR EXCLUSIVE+BATCH /server/Manager/mana2001.dbfTue Feb 27 17:02:36 2001
>
>
>
> This problem exists only on Samba server and is critical for use
> database systems (when data are shared with another user).
> Novell or Win98 network is working correctly.
>
> This problem exists with a lot of programs.
>
> Example 2: Pictures saved on Samba server in directory Progres.
>
> When the files are viewed and closed (by
> irfanview.exe) the file, who was viewed as last, stayes opened.
>
> Open Files
>
> PID Sharing R/W Oplock File Date
> 2703DENY_NONE RDONLY EXCLUSIVE+BATCH /server/Progres/lhw2.jpgTue Feb 27 17:20:07 2001
>
>
> Please tell me, what can I do.
>
> Thanks
>
> Ota Neuzil
> ota.neuzil at syskey.cz
More information about the samba
mailing list