[Samba] read_data: read failure for 4 bytes..

B. Cook bcook at poklib.org
Wed Aug 30 18:49:11 GMT 2006


I have people trying to join a domain and they are getting errors.  I 
have set log level = 2 and below are the logs for that IP.

[2006/08/30 14:38:30, 2] lib/access.c:check_access(324)
   Allowed connection from node128.inst2.phs.pcsd (10.20.100.128)
[2006/08/30 14:38:30, 2] smbd/reply.c:reply_special(496)
   netbios connect: name1=FILEZILLA       name2=09404MATHLAB
[2006/08/30 14:38:30, 2] smbd/reply.c:reply_special(503)
   netbios connect: local=filezilla remote=09404mathlab, name type = 0
[2006/08/30 14:38:34, 0] lib/util_sock.c:read_data(534)
   read_data: read failure for 4 bytes to client 10.20.100.128. Error = 
Connection reset by peer

here are other logs from other hosts..

[2006/08/11 14:18:48, 0] lib/util_sock.c:read_data(534)
   read_data: read failure for 4 bytes to client 10.20.1.220. Error = 
Operation timed out
[2006/08/11 14:18:48, 0] lib/util_sock.c:write_data(562)
   write_data: write failure in writing to client 10.20.1.220. Error 
Broken pipe
[2006/08/11 14:18:48, 0] lib/util_sock.c:send_smb(769)
   Error writing 75 bytes to client. -1. (Broken pipe)
[2006/08/11 14:23:13, 1] smbd/service.c:make_connection_snum(941)
   cdaley (10.20.0.248) connect to service netlogon initially as user 
gdigi (uid=1002, gid=1000) (pid 28930)
[2006/08/11 14:23:22, 1] smbd/service.c:close_cnum(1141)
   cdaley (10.20.0.248) closed connection to service netlogon
[2006/08/11 14:23:23, 1] smbd/service.c:make_connection_snum(941)
   cdaley (10.20.0.248) connect to service netlogon initially as user 
gdigi (uid=1002, gid=1000) (pid 28930)
[2006/08/11 14:23:45, 1] smbd/service.c:close_cnum(1141)
   cdaley (10.20.0.248) closed connection to service netlogon
[2006/08/11 14:23:53, 1] smbd/service.c:make_connection_snum(941)
   cdaley (10.20.0.248) connect to service netlogon initially as user 
gdigi (uid=1002, gid=1000) (pid 28930)
[2006/08/11 14:24:12, 1] smbd/service.c:close_cnum(1141)
   cdaley (10.20.0.248) closed connection to service netlogon
[2006/08/11 14:25:35, 0] lib/util_sock.c:read_data(534)
   read_data: read failure for 4 bytes to client 10.20.0.248. Error = 
Connection reset by peer
[2006/08/11 14:25:35, 1] smbd/service.c:make_connection_snum(941)
   cdaley (10.20.0.248) connect to service netlogon initially as user 
gdigi (uid=1002, gid=1000) (pid 4937)
[2006/08/11 14:25:46, 1] smbd/service.c:close_cnum(1141)


it doesn't happen all the time.. but what is it? and how do I fix it?

there is a valid machine trust..

Samba version 3.0.23b

and things from smb.conf:

interfaces = 10.20.0.230/24, 127.0.0.1
socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT 
SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
hosts allow = localhost, 10.20.0., 10.20.1., 10.20.100.
hosts deny = ALL

Thanks in advance..


More information about the samba mailing list