From: David C. Rankin on
On 01/11/2010 03:34 PM, óÅÒÇÅÊ wrote:
> Hello, David
>
>> Jan 11 13:43:45 nemesis smbd[2247]: matchname: host name/address mismatch:
>> ::ffff:192.168.7.127 != Adrienne-PC.rbpllc.com
> Here is reason by plain English.
> Which IP-adress have Adrienne-PC.rbpllc.com?
>
> Bye. Serg
>

óÅÒÇÅÊ

Thank you for the response. I know there is an IP mismatch. That, I get. What I
need your help on is how I tell samba to forget about the old IP address of
192.168.7.127 and learn the correct address for Adrienne-PC? Where is this
cached and how do I get rid of it?

Samba isn't seeing something correctly. For example, here is the same problem
with a machine named reception (in the reception area):

Jan 13 12:43:19 nemesis smbd[7449]: Matchname failed on RECEPTION.rbpllc.com
::ffff:192.168.7.150
Jan 13 12:50:46 nemesis smbd[7474]: [2010/01/13 12:50:46, 0]
lib/util_sock.c:1564(matchname)
Jan 13 12:50:46 nemesis smbd[7474]: matchname: host name/address mismatch:
::ffff:192.168.7.150 != RECEPTION.rbpllc.com
Jan 13 12:50:46 nemesis smbd[7474]: [2010/01/13 12:50:46, 0]
lib/util_sock.c:1685(get_peer_name)
Jan 13 12:50:46 nemesis smbd[7474]: Matchname failed on RECEPTION.rbpllc.com
::ffff:192.168.7.150

Samba is saying there is a mismatch between reception and the IP of
192.168.7.150 -- but that is WRONG!

13:19 nemesis:~> ping reception
PING reception.rbpllc.com (192.168.7.150) 56(84) bytes of data.
64 bytes from RECEPTION.rbpllc.com (192.168.7.150): icmp_seq=1 ttl=128 time=3.16 ms
64 bytes from RECEPTION.rbpllc.com (192.168.7.150): icmp_seq=2 ttl=128 time=0.311 ms
64 bytes from RECEPTION.rbpllc.com (192.168.7.150): icmp_seq=3 ttl=128 time=0.309 ms
^C
--- reception.rbpllc.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.309/1.262/3.166/1.346 ms

Here is the dns entry:

[13:23 nemesis:/home/david] # sdns
$ORIGIN .
$TTL 172800 ; 2 days
rbpllc.com IN SOA bonza.rbpllc.com. root.bonza.rbpllc.com. (
2009122700 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS bonza.rbpllc.com.
NS nemesis.rbpllc.com.
MX 0 bonza.rbpllc.com.
$ORIGIN rbpllc.com.
<snip>
rankin-p35a A 192.168.7.101
$TTL 14400 ; 4 hours
RECEPTION A 192.168.7.150
TXT "31070f4d9f3c8435ddf3a0641b740d7fdd"
<snip>

and the reverse:

[13:23 nemesis:/home/david] # cat /var/lib/named/dyn/192.168.7.zone
$ORIGIN .
$TTL 172800 ; 2 days
7.168.192.in-addr.arpa IN SOA bonza.rbpllc.com. root.bonza.rbpllc.com. (
2009122700 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
86400 ; minimum (1 day)
)
NS bonza.rbpllc.com.
NS nemesis.rbpllc.com.
$ORIGIN 7.168.192.in-addr.arpa.
101 PTR rankin-p35a.rbpllc.com.
<snip>
$TTL 14400 ; 4 hours
150 PTR RECEPTION.rbpllc.com.

So why is there a mismatch error filling my logs?

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba