[Samba] Logon times went from 45secs to 8mins

Mat Enders mat.enders at gmail.com
Sun Jul 17 12:34:26 MDT 2011


All,

          There has been no change in the workstations or on the PDC
however my logon times have gone from about 45seconds to about
8minutes.  I can not figure out why as nothing has changed.

relevant from log.smbd

[2011/07/17 10:42:42.846871,  1]
smbd/service.c:1070(make_connection_snum) mike-kaczmarek
(::ffff:10.0.2.253) connect to service user initially as user user
(uid=1106, gid=1120) (pid 8429)
[2011/07/17 10:43:24.936647,  0]
lib/util_sock.c:1441(get_peer_addr_internal) getpeername failed. Error
was Transport endpoint is not connected
[2011/07/17 10:43:24.937396,  0] lib/util_sock.c:680(write_data)
[2011/07/17 10:43:24.938451,  0]
lib/util_sock.c:1441(get_peer_addr_internal) getpeername failed. Error
was Transport endpoint is not connected write_data: write failure in
writing to client 0.0.0.0. Error Connection reset by peer
[2011/07/17 10:43:24.938673,  0] smbd/process.c:79(srv_send_smb) Error
writing 4 bytes to client. -1. (Transport endpoint is not connected)
[2011/07/17 10:44:51.740161,  1] smbd/service.c:1251(close_cnum)
mike-kaczmarek (::ffff:10.0.2.253) closed connection to service user
[2011/07/17 10:44:51.788916,  1]
smbd/service.c:1070(make_connection_snum) mike-kaczmarek
(::ffff:10.0.2.253) connect to service netlogon initially as user user
(uid=1106, gid=1120) (pid 8669)
[2011/07/17 10:45:03.111859,  1] smbd/service.c:1251(close_cnum)\
mike-kaczmarek (::ffff:10.0.2.253) closed connection to service
netlogon
[2011/07/17 10:49:50.287106,  0]
lib/util_sock.c:1441(get_peer_addr_internal) getpeername failed. Error
was Transport endpoint is not connected
[2011/07/17 10:49:50.289197,  0] lib/util_sock.c:474(read_fd_with_timeout)
[2011/07/17 10:49:50.289352,  0]
lib/util_sock.c:1441(get_peer_addr_internal) getpeername failed. Error
was Transport endpoint is not connected read_fd_with_timeout: client
0.0.0.0 read error = Connection reset by peer.
[2011/07/17 10:49:50.491729,  1]
smbd/service.c:1070(make_connection_snum) mike-kaczmarek
(::ffff:10.0.2.253) connect to service netlogon initially as user user
(uid=1106:, gid=1120) (pid 9392)
[2011/07/17 10:49:51.385269,  1]
smbd/service.c:1070(make_connection_snum) mike-kaczmarek
(::ffff:10.0.2.253) connect to service staff initially as user user
(uid=1106, gid=1120) (pid 9392)
[2011/07/17 10:49:51.388257,  1]
smbd/service.c:1070(make_connection_snum) mike-kaczmarek
(::ffff:10.0.2.253) connect to service student initially as user user
(uid=1106, gid=1120) (pid 9392)


smb.conf

[global]
	smb passwd file = /etc/samba/passdb.tdb
	enable privileges = yes
	logon drive = H:
	domain master = yes
	encrypt passwords = true
	logon home = \\%L\%U
	netbios name = ARDVARC
	server string = Gaudior's PDC
	logon script = logon.bat
	local master = yes
	workgroup = GAUACA
	logon path = \\%L\%U\profile
	os level = 99
	security = user
	add machine script = /usr/sbin/useradd -s /bin/false \-d /dev/null %u
	preferred master = yes
	domain logons = yes
	hide files = /desktop.ini/
	guest account = nobody
	map to guest = bad user
	wins support = yes

[staff]
	comment = staff share drive
	path = /home/staff/share
	read only = no

[student]
	comment = student share by level
	path = /home/stdnt/share
	read only = no

[netlogon]
	comment = Net Logon Service
	path = /home/netlogon
	read only = yes
	write list = root
	public = yes
	guest ok = yes
	browsable = no

[homes]
	comment = Home
	valid users = %S
	read only = no
	browsable = no



-- 
Mathew E. Enders


More information about the samba mailing list