[Samba] smbd error: Matchname failed on (machine name)

David C. Rankin drankinatty at suddenlinkmail.com
Fri Aug 21 22:54:10 MDT 2009


Listmates,

	Samba has been trouble free for some time, but I have a very strange error 
related to one machine on my network that is filling my logs with smb errors. 
The box in question "ripper" is a normal WinXP box that is dual-boot with SuSE 
10.3. The errors are received every 30 minutes or so:

Aug 21 17:04:03 archangel smbd[3116]: [2009/08/21 17:04:03,  0] 
lib/util_sock.c:matchname(1749)
Aug 21 17:04:03 archangel smbd[3116]:   matchname: host name/address mismatch: 
::ffff:192.168.6.149 != ripper.3111skyline.com
Aug 21 17:04:03 archangel smbd[3116]: [2009/08/21 17:04:03,  0] 
lib/util_sock.c:get_peer_name(1870)
Aug 21 17:04:03 archangel smbd[3116]:   Matchname failed on 
ripper.3111skyline.com ::ffff:192.168.6.149
Aug 21 17:35:53 archangel smbd[3120]: [2009/08/21 17:35:53,  0] 
lib/util_sock.c:matchname(1749)
Aug 21 17:35:53 archangel smbd[3120]:   matchname: host name/address mismatch: 
::ffff:192.168.6.149 != ripper.3111skyline.com
Aug 21 17:35:53 archangel smbd[3120]: [2009/08/21 17:35:53,  0] 
lib/util_sock.c:get_peer_name(1870)
Aug 21 17:35:53 archangel smbd[3120]:   Matchname failed on 
ripper.3111skyline.com ::ffff:192.168.6.149

	There are 10 other boxes on the local subnet 6 are dual-boot WinXP & Linux. I 
don't get this error with any of the others. The server is Archlinux with 
samba 3.3.7-1. The smb.conf is:

[global]                                                                 
        use sendfile = No                                                
        workgroup = rb_law                                               
        server string = Samba %v                                         
        printcap name = cups                                             
        load printers = yes                                              
        printing = cups                                                  
        show add printer wizard = no                                     
        disable spoolss = yes                                            
        log file = /var/log/samba/log.%m                                 
        max log size = 100
        time server = yes
        admin users = david
        smb ports = 139
        hosts allow = 192.168.7. 192.168.6. 192.168.8. 192.168.5.
        map to guest = bad user
        security = user
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        socket options = TCP_NODELAY
        local master = no
        os level = 56
        name resolve order = wins lmhosts bcast
        wins server = 192.168.6.17
        dns proxy = no
        usershare allow guests = No
[homes]
        comment = Home Directories
        browseable = no
        writable = yes

	What should I check to try to stop the errors? Both boxes get rebooted fairly 
regularly and no matter, the error always comes back. Let me know if I can 
send additional information and I'll be happy to. Thanks.

-- 
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


More information about the samba mailing list