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

Christian Perrier bubulle at debian.org
Thu Jun 14 04:38:19 UTC 2007

Quoting Arno van Amersfoort (a.c.j.van.amersfoort at eld.physics.leidenuniv.nl):
> 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.

Could you please post your smb.conf file (before you tried tweaking
it), include the relevant share settings?

A level 10 debug log of the first file opening *and* further attempts
by Window clients would help, too.

Also, does it happen for any EXE file launched from a Windows client,
or only for that registry manipulation utility which you apparently
use from the users' logon script?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20070614/dc78c946/attachment.pgp 

More information about the Pkg-samba-maint mailing list