[Pkg-samba-maint] Bug#705251: Bug#705251: smbclient -L produces suspicious DNS lookup failures in log.nmbd

Andrew Bartlett abartlet at samba.org
Fri Apr 12 02:05:44 UTC 2013


On Thu, 2013-04-11 at 19:29 -0400, Ilguiz Latypov wrote:
> Package: smbclient
> Version: 2:3.6.13-1
> Severity: minor
> 
> Dear Maintainer,
> 
>    * What led up to the situation?
> 
>     Ran smbclient -A /etc/credentials-USER -L HOST.example.net
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
>     Ran the above command.
> 
>    * What was the outcome of this action?
> 
>      The list of shares showed up with a harmless NT_STATUS_CONNECTION_RESET
> message in the bottom.
> 
>         read_fd_with_timeout failed, read error = NT_STATUS_CONNECTION_RESET.
>        Receiving SMB: Server 10.65.25.54 stopped responding
>        session request to HOST.EXAMPLE.NET failed (Read error: Connection reset
> by peer)
> 
>     The log file /var/log/samba/log.nmbd had this,
> 
>     [2013/04/11 19:15:09,  3]
> nmbd/nmbd_winsserver.c:2068(wins_process_name_query_request)
>       wins_process_name_query: name query for name HOST.EXAMPLE.NE<20>
> returning DNS fail.

Your wins server is acting as a dns proxy, and the name was truncated at
the maximum length for NBT names.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the Pkg-samba-maint mailing list