[Samba] Samba name/address mismatch

David Holder david.holder at erion.co.uk
Thu Jan 20 08:57:43 MST 2011


Hi Francesco,

The IPv6 address ::ffff:192.168.168.202 is called an IPv4 mapped IPv6 
address. It is a way of referring to an IPv4 address using an IPv6 
address. Its use here is a feature of the way the code is written and 
the IPv6 socket API.

Matchname needs changing to take this into account. I would suggest that 
you raise this as a bug.

Best Regards,
David
------------------------------------------------------------------------
Dr David Holder CEng FIET MIEEE

ErionLtd, An Cala, Inverkirkaig, Lochinver, Sutherland, IV27 4LR, UK

Reception: +44 (0)1422 207000

Direct Dial: +44 (0)131 2026317

http://www.erion.co.uk


Registered in England and Wales.Registered Number 3521142
Registered Office: Oakleigh, Upper Sutherland Road, Lightcliffe, 
Halifax, HX3 8NT, UK
VAT Number: GB 698 3633 78


On 20/01/2011 15:50, Francesco Alfano wrote:
> Hello
> In samba log file I've a message like this:
>
> [2011/01/18 16:04:04,  0] lib/util_sock.c:matchname(1749)
>   matchname: host name/address mismatch: ::ffff:192.168.168.202 != 
> pc-ser-tun.eda
> that fills log.smbd.
>
> I've never used ipv6 and
> ping pc-ser-tun.eda returns:
> PING pc-ser-tun.eda (192.168.168.202) 56(84) bytes of data.
> 64 bytes from pc-ser-tun.eda (192.168.168.202): icmp_seq=1 ttl=128 
> time=0.092 ms
>
> and in smb.conf i've this entry:
> hosts allo.w = 127. 192.168.1. 192.168.168.
>
> can you help me to remove this mismatch from log.smbd ?
>
> Thanks in advance.


More information about the samba mailing list