Prev: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?
Next: audacious won't change vol of WMA
From: Tom H on 13 Aug 2010 13:50
On Fri, Aug 13, 2010 at 11:45 AM, Roger Lynn <Roger(a)rilynn.me.uk> wrote:
> Since upgrading from etch to lenny when it came out, all my Samba logs have
> been full of lines like:
> [2010/08/13 15:07:11, 0] lib/util_sock.c:matchname(1749)
> matchname: host name/address mismatch: ::ffff:127.0.0.1 != localhost
> [2010/08/13 15:07:11, 0] lib/util_sock.c:get_peer_name(1870)
> Matchname failed on localhost ::ffff:127.0.0.1
> As accessing files from Windows clients still works I've been able to work
> around it, so I've ignored it, but now I think it's preventing me from
> adding printers. There are lots of similar reports around, but I can't find
> any solutions. I am using only Debian Lenny packages with security updates
> and proposed updates. I am using dnsmasq for DNS. My smb.conf file is below.
> I have not knowingly done any customisation or configuration relating to IPv6.
> Is this a bug in my configuration, samba or somewhere else, possibly dnsmasq?
> Obviously this is IPv6 related. As I can't find any way of disabling IPv6 in
> Samba, the simplest solution appears to be to disable IPv6 on the entire
> machine. Has anyone got any better suggestions?
A possible hack: add the hybrid (or whatever it is actually called)
"::ffff:127.0.0.1" ipv6 address to the "hosts allow" line.
You might be able to disable ipv6 just for samba by adding
bind interfaces only = yes
interfaces = 127.0.0.1 host_ip_address
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org