[Samba] samba 3.3.4-1, lib/util_sock.c:matchname(1749) error??

David C. Rankin drankinatty at suddenlinkmail.com
Wed Jun 17 02:27:22 GMT 2009


Listmates,

	On my Archlinux server with samba 3.3.4-1, I am getting a smbd error that is 
filling my logs and I'm not sure why. The box 'ripper.3111skyline.com' shown 
below is a dual boot box and spends most of its life and mom's XP box and 
masquerades as an openSuSE 10.3 box the rest of the time. There are seven 
other boxes on this lan with 5 others being dual boot XP/openSuSE or Archlinux 
and none of the other boxes appear in the logs -- so why ripper? 

Jun 16 19:38:45 archangel smbd[18210]: [2009/06/16 19:38:45,  0] 
lib/util_sock.c:matchname(1749)
Jun 16 19:38:45 archangel smbd[18210]:   matchname: host name/address 
mismatch: ::ffff:192.168.6.149 != ripper.3111skyline.com
Jun 16 19:38:45 archangel smbd[18210]: [2009/06/16 19:38:45,  0] 
lib/util_sock.c:get_peer_name(1870)
Jun 16 19:38:45 archangel smbd[18210]:   Matchname failed on 
ripper.3111skyline.com ::ffff:192.168.6.149

	The smb.conf configures the Arch server in stand-alone mode as a simple file 
server.

[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.8. 192.168.5. 127. 66.76.63.60
        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
<snip of printers..>

	I don't know whether there is something stuck in a browse list cache 
somewhere or whether there is an issue with addressing with this one machine, 
but I have not been able to solve it and needed to beg a bit of advise from 
the experts. So what should I check, test, etc. to help figure out what is 
causing this issue? Thanks in advance for any help.

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