[Samba] samba 3 - getting rid of some logfile errors

Bjoern Meier bjoern.meier at gmail.com
Fri Jan 18 11:44:59 MST 2013


hi,


2012/8/1 Jürgen Echter <j.echter at echter-kuechen-elektro.de>:
> Hi,
>
> i have a lot of entries in my logs which i can't solve, but everything works
> as expected.
>
> my setup:
>
> samba pdc - bacula
> samba bdc - mule
> Ubuntu 10.04-LTS Server
> samba 3.4.7
>
> log file entries:
>
> Aug  1 08:25:40 bacula smbd[23854]:   canonicalize_connect_path failed for
> service alex, path /\\mule\alex
> Aug  1 08:25:41 bacula smbd[23854]: [2012/08/01 08:25:41,  0]
> smbd/service.c:988(make_connection_snum)
> Aug  1 08:25:41 bacula smbd[23854]:   canonicalize_connect_path failed for
> service alex, path /\\mule\alex
> Aug  1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44,  0]
> lib/util_sock.c:1498(get_peer_addr_internal)
> Aug  1 08:25:44 bacula smbd[24003]:   getpeername failed. Error was
> Transport endpoint is not connected
> Aug  1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44,  0]
> lib/util_sock.c:743(write_data)
> Aug  1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44,  0]
> lib/util_sock.c:1498(get_peer_addr_internal)
> Aug  1 08:25:44 bacula smbd[24003]:   getpeername failed. Error was
> Transport endpoint is not connected
> Aug  1 08:25:44 bacula smbd[24003]:   write_data: write failure in writing
> to client 0.0.0.0. Error Connection reset by peer
> Aug  1 08:25:44 bacula smbd[24003]: [2012/08/01 08:25:44,  0]
> smbd/process.c:62(srv_send_smb)
> Aug  1 08:25:44 bacula smbd[24003]:   Error writing 4 bytes to client. -1.
> (Transport endpoint is not connected)
> Aug  1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07,  0]
> lib/util_sock.c:539(read_fd_with_timeout)
> Aug  1 08:26:07 bacula smbd[24002]: [2012/08/01 08:26:07,  0]
> lib/util_sock.c:1498(get_peer_addr_internal)
> Aug  1 08:26:07 bacula smbd[24002]:   getpeername failed. Error was
> Transport endpoint is not connected
> Aug  1 08:26:07 bacula smbd[24002]:   read_fd_with_timeout: client 0.0.0.0
> read error = Connection reset by peer.
>
> any hints how to resolve this?

getpeername() is a normal libc function

defined in sys/socket.h

so if samba defined an error belongs to getpeername it is a usual DNS
resolve error and specified the clients hostname could not resolved by
the samba host.

Hope this help

Greetings,
Björn


More information about the samba mailing list