Hello Christian,
Christian Perrier wrote:
retitle 428733 Samba keeps locks on executable files when launched from logon
scripts by Windows clients
tags 428733 moreinfo
thanks
Hello Arno,
While doing a mass bug triage of bugs in the samba package, I went on
the issue you reported in http://bugs.debian.org/428733, where
executable files launched from Windows during logon scripts were kept
locked by samba.
I went on your very very long smb.conf file and first piped it through
testparm so that only parameters that differ from the default settings
are kept. See attached file.
To narrow down this problem, I would first recommend you to drop the
following parameters unless you have a very good reason for having
them:
[global]
smb ports = 139
I've already disabled this a while back.
name resolve order = lmhosts hosts bcast
I disabled this one too now.
deadtime = 10
I also already this a while back.
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192
SO_RCVBUF=8192
Same thing.
enhanced browsing = No
Same thing.
strict locking = No
I have disabled this now. Now that I think of it this could potentiolly
fix the problem.
dos filetime resolution = Yes
I disabled this too.
From discussions with Samba developers, tweaking those is generally
not recommended....whatever you may find on so-called well-informed
sites (the socket options, specifically)
I'd also like to know whether you still experience that problem and
are in position to do further testing. At the moment you reported the
problem, i was mostly ignored, unfortunately, after you provided a
very big level 10 debug log.
Now that I've changed some of the settings you suggested I'll recheck
whether it fixes the problem. I'll report back ASAP.
Thanks for your efforts.
cheers,
Arno
--
Ing. A.C.J. van Amersfoort (Arno)
Electronics & ICT Engineer
----------------------------------------------------------------
Leiden Institute of Physics (LION), Electronics Department (ELD)
Huygens Laboratory (Room 1007), Leiden University
Postal Address: P.O. Box 9504, 2300 RA Leiden
Visit Address : Niels Bohrweg 2, 2333 CA Leiden
The Netherlands
----------------------------------------------------------------
Phone : +31-(0)71-527.1894
Fax : +31-(0)71-527.5819
E-mail : [email protected]
Homepage : http://rocky.eld.leidenuniv.nl
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]