LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-03-2012, 05:42 PM   #1
gobo7
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Rep: Reputation: Disabled
13.37 ipv6 and samba issue


have built a new system with 13.37. samba shares will not map. the following is from the log:

Code:
[2012/10/03 15:30:22.433034,  0] lib/util_sock.c:1514(matchname)
  matchname: host name/address mismatch: ::ffff:192.168.1.50 != nas3
[2012/10/03 15:30:22.433568,  0] lib/util_sock.c:1635(get_peer_name)
  Matchname failed on nas3 ::ffff:192.168.1.50
[2012/10/03 15:30:22.451331,  0] lib/util_sock.c:1514(matchname)
  matchname: host name/address mismatch: ::ffff:192.168.1.50 != nas3
[2012/10/03 15:30:22.451857,  0] lib/util_sock.c:1635(get_peer_name)
  Matchname failed on nas3 ::ffff:192.168.1.50
i have a 13.1 system with no issues. both boxes are using the defaults for ipv6.

the 13.37 smb.conf is almost identical to the 13.1 version (name
changes only.)
Code:
[global]                                                              
        workgroup = WORKGROUP                                        
        server string = nas4    
        log file = /var/log/samba.nas4
        max log size = 50
        load printers = No
        local master = No
        dns proxy = No
        hosts allow = 192.168.1.  127.
        security = user

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[nas4]
        comment = nas4 share
        path = /storage
        valid users = nas4
        force group = users
        read only = No
the most published solution is to add this to smb.conf:
Code:
    bind interfaces only = Yes     
    interfaces = 127.0.0.1  192.168.1.52
this certainly stopped the messages, but mount still fails with no
such device.

i think all the ports are open (without the bind interfaces only):
Code:
tcp        0      0 :::139                  :::*                    LISTEN      2132/smbd
tcp        0      0 :::445                  :::*                    LISTEN      2132/smbd
udp        0      0 192.168.1.255:137       0.0.0.0:*                           2135/nmbd
udp        0      0 192.168.1.52:137        0.0.0.0:*                           2135/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*                           2135/nmbd
udp        0      0 192.168.1.255:138       0.0.0.0:*                           2135/nmbd
udp        0      0 192.168.1.52:138        0.0.0.0:*                           2135/nmbd
udp        0      0 0.0.0.0:138             0.0.0.0:*                           2135/nmbd
i've set this up a bunch of times before, this is just the first with 13.37. i'm out of ideas. any suggestions?
 
Old 10-03-2012, 11:57 PM   #2
gobo7
LQ Newbie
 
Registered: Aug 2012
Posts: 13

Original Poster
Rep: Reputation: Disabled
13.37 ipv6 and samba issue

i've made some headway.

it looks like the ipv6 name mismatch errors can be ignored. can any one confirm that?
 
Old 10-04-2012, 12:07 AM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,408

Rep: Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834Reputation: 834
Yes, you can safely ignore that.
You can also add an entry to /etc/hosts that will cut down the log spam.
Code:
::ffff:192.168.1.50     nas3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPv6 on Debian VPS (Routing Issue) Cinos Linux - Networking 0 07-26-2012 02:00 PM
openBSD 4.1 and ipv6 issue farkus888 *BSD 2 10-26-2007 07:53 AM
IPv6 issue/dhclient issue ap0ll0 Linux - Wireless Networking 10 01-27-2006 04:58 PM
automatic ipv6 module loading issue mio Slackware 1 03-27-2005 09:33 AM
Can't reach network with different distros -- IPv6 issue?? springsteenfan Linux - Networking 0 02-22-2005 04:07 PM


All times are GMT -5. The time now is 05:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration