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 name resolve order = lmhosts hosts bcast deadtime = 10 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 enhanced browsing = No strict locking = No dos filetime resolution = Yes 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.
signature.asc
Description: Digital signature

