[Pkg-samba-maint] Bug#428733: samba keeps exe-files locked?

Arno van Amersfoort a.c.j.van.amersfoort at eld.physics.leidenuniv.nl
Wed Jun 13 19:09:57 UTC 2007


Package: samba
Version: 3.0.24-6etch4

It seems that since I've upgraded from Sarge to Etch (Samba 3.0.14a -> 
3.0.24), Samba doesn't dispose of locks previously created for exe-files 
  opened by Windows. This means that once a Windows client opens an 
.exe-file from a Samba-share (to execute it), and then closes it again, 
Samba still holds the lock on that .exe-file, as long as the 
Windows-client is logged on.

This is what is shown by smbstatus:

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock 
    SharePath   Name   Time
....
21470        319        DENY_WRITE 0x20        RDONLY     NONE 
    /etc/samba/netlogon   reg.exe   Wed Jun 13 13:07:20 2007
.....

I've tried changing all related oplock & locking variables in smb.conf 
but the problem still persists, so I guess it's a bug of some kind.


-- 
Ing. A.C.J. van Amersfoort (Arno)
Department Of Electronics (ELD, k1007)
Huygens Laboratory
Leiden University
P.O. Box 9504
Niels Bohrweg 2
2333 CA Leiden
The Netherlands
----------------------------------------------------------------
Phone : +31-(0)71-527.1894   Fax: +31-(0)71-527.5819
E-mail: a.c.j.van.amersfoort at eld.physics.leidenuniv.nl
----------------------------------------------------------------
Arno's (Linux firewall) homepage: http://rocky.eld.leidenuniv.nl












More information about the Pkg-samba-maint mailing list