F13: Samba smbd spewing out ton's of 'host name/address mismatch' log messages

Tom H tomh0665 at gmail.com
Fri May 20 00:26:18 UTC 2011


On Thu, May 19, 2011 at 11:30 AM, Daniel B. Thurman <dant at cdkkt.com> wrote:
>
> I searched everywhere for a resolution to this
> issue and have not found any that worked.
> This issue seemed to go as far back to F9.
>
> The samba smbd (matchname/get_peer_name)
> seems to have issues with ip4 to ip6 mapping.
>
> May 19 08:17:59 <l-host> smbd[18651]: [2011/05/19 08:17:59.113572,  0]
> lib/util_sock.c:1514(matchname)
> May 19 08:17:59 <l-host> smbd[18651]:   matchname: host name/address
> mismatch: ::ffff:10.1.0.1 != <r-host>.<domain>.com
> May 19 08:17:59 <l-host> smbd[18651]: [2011/05/19 08:17:59.113936,  0]
> lib/util_sock.c:1635(get_peer_name)
> May 19 08:17:59 <l-host> smbd[18651]:   Matchname failed on
> <r-host>.<domain>.com ::ffff:10.1.0.1

You can disable ipv6 for samba by adding the following to smb.conf:
bind interfaces only = yes
interfaces = 127.0.0.1 host_ip_address


More information about the users mailing list