[Samba] smbd errors from "getpeername"

Kevin Duckett man-lnx03 at comcast.net
Mon Sep 19 15:26:53 GMT 2005


I receive the following errors/warnings in this scenario.

- From my Windows XP client, I open Network Places. I then click View
workgroup computers. When the list of computers is displayed into the
window I receive the following messages in /var/log/messages.

Sep 19 09:48:53 lnx04 smbd[3101]: [2005/09/19 09:48:53, 0]
lib/util_sock.c:get_peer_addr(1222)
Sep 19 09:48:53 lnx04 smbd[3101]:   getpeername failed. Error was
Transport endpoint is not connected
Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
lib/util_sock.c:get_peer_addr(1222)
Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
Transport endpoint is not connected
Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
lib/util_sock.c:get_peer_addr(1222)
Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
Transport endpoint is not connected
Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
lib/access.c:check_access(328)
Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
lib/util_sock.c:get_peer_addr(1222)
Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
Transport endpoint is not connected
Sep 19 09:48:53 lnx04 smbd[4314]:   Denied connection from  (0.0.0.0)
Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
lib/util_sock.c:get_peer_addr(1222)
Sep 19 09:48:53 lnx04 smbd[4314]:   getpeername failed. Error was
Transport endpoint is not connected
Sep 19 09:48:53 lnx04 smbd[4314]:   Connection denied from 0.0.0.0
Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
lib/util_sock.c:write_data(554)
Sep 19 09:48:53 lnx04 smbd[4314]:   write_data: write failure in writing
to client 0.0.0.0. Error Connection reset by peer
Sep 19 09:48:53 lnx04 smbd[4314]: [2005/09/19 09:48:53, 0]
lib/util_sock.c:send_smb(762)
Sep 19 09:48:53 lnx04 smbd[4314]:   Error writing 5 bytes to client. -1.
(Connection reset by peer)

Next, I close the Network Places window and execute the same steps to
see if the messages come back the second time around.  They do not.
However, if I restart the smbd services and do it all over again, they
do.


-- 
<man-lnx03 at comcast.net>



More information about the samba mailing list