The Samba-Bugzilla – Bug 4108
Closing MS Office application closes samba connection, even crashes XP
Last modified: 2016-08-27 14:47:56 UTC
Our problem started only some weeks ago, most likely with the new 3.0.23a version that came for Fedora Core 4 and 5. I understand that this could also be a feature and changing configuration file somehow might also help. But how?
What is happening is that our connections from PCs (XP Prof, all patched) to linux samba-shares are behaving strangely. We are editing some html-pages on Fedora Core 4 and 5 boxes with FrontPage 2003, and closing the program automatically closes also the samba connection. Same applies to other MS Office 2003 products (haven't tested older). Quite often XP also crashes (boots) at the same time! Moving files around or editing with an ascii-editor works without problems. Same happens from all XP boxes tested. Looks like a locking file problem?
The samba version on both FC4/5 is 3.0.23a, and the security mode used is share (it seems that there is no problem in a FC5 box that runs samba with security = user). In the latest FC5 box I have smb.conf like this:
workgroup = x
server string = x
security = share
passdb backend = smbpasswd:/etc/samba/smbpasswd
log file = /usr/local/samba/var/%m.log
max log size = 50
dns proxy = no
force create mode = 0664
force directory mode = 0775
load printers = no
comment = web
path = /web
read only = no
valid users = web
hosts allow = x
According to log files it is really the XP side that explicitly closes the connection. What is more, my domain account is quite often locked after the crash.