[Samba] Samba conect/disconect/reconect when browsing or when freeze open/save dialogs

hamacker sirhamacker at gmail.com
Wed Nov 19 12:32:01 GMT 2008

Hi everybody,

Recently, I change my server to anoter, but I copied all accounts
linux/samba users to new one.
I migrate from Ubuntu Server 8.04 to 8.10 server
It's the same old smb.conf of old machine, but one new problem.
When logon is OK, but wait 5 minutes or less and when connect remote
drive for second time by explorer, windows says that "not respoding",
but wait 30 seconds and reconect drive again, no error, but some users
dont wait, kill explorer/word/excell process thinking.

I inspect samba logs, looking for "timout", but it's normal, none message error.

My samba version is Version 3.2.3, my distro is Ubuntu Server 8.10
[amd64] updated.

My smb.conf (PCD) is :
	unix charset = UTF8
	workgroup = VIDY2005
	server string = %h server (Samba %v)
	interfaces =, lo
	bind interfaces only = Yes
	obey pam restrictions = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*password* %n\n *Please*retype*new*password* %n\n
	username map = /etc/samba/smbusers
	unix password sync = Yes
	lanman auth = Yes
	client lanman auth = Yes
	syslog = 0
	log file = /var/log/samba/log.%m.%U
	max log size = 10000
	max xmit = 65535
	name resolve order = hosts wins bcast
	time server = Yes
	deadtime = 15
	printcap name = cups
	add user script = /usr/sbin/useradd -m '%u'
	rename user script = /usr/sbin/usermod -l '%unew' '%uold'
	delete user script = /usr/sbin/userdel -r '%u'
	add group script = /usr/sbin/groupadd '%g'
	delete group script = /usr/sbin/groupdel '%g'
	add user to group script = /usr/bin/gpasswd -a '%u' '%g'
	delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
	set primary group script = /usr/sbin/usermod -g '%g' '%u'
	add machine script = /usr/sbin/adduser -n -r -g machines -c "Samba
machine" -d /dev/null -s /bin/false %u
	logon script = scripts\%u.bat
	logon path = \\%L\profiles\%U
	logon home = /home/samba/netlogon
	domain logons = Yes
	os level = 100
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins server =
	panic action = /usr/share/samba/panic-action %d
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	template shell = /bin/bash
	admin users = @info, @ntadmin, gladiston, root, robson, administrador
	create mask = 0777
	force create mode = 0777
	force security mode = 0777
	directory mask = 0777
	force directory mode = 0777
	force directory security mode = 0777
	cups options = raw
	preserve case = No
	short preserve case = No
	veto files = /*.eml/*.nws/*.{*}/
	hide files = /thumbs.db/Thumbs.db/autorun.inf/Autorun.inf/
	veto oplock files = /*.odt/*.doc/*.xls/*.mdb/

More information about the samba mailing list