[Pkg-samba-maint] Bug#462803: mount.cifs not respecting name resolve order

Steve Langasek vorlon at debian.org
Sun Jan 27 19:10:32 UTC 2008


retitle 462803 mount.cifs does not respect name resolve order
forcemerge 311709 462803
thanks

On Sun, Jan 27, 2008 at 11:06:03AM -0500, Mike Marsh wrote:
> Package: smbclient
> Version: 3.0.28-2+b1
> Severity: normal

> I'm lucky enough to be using Verizon DSL for my network connection,
> which means a hostname *always* resolves, if to nothing else than to
> Verizon's search servers.  In this latter case, the NXDOMAIN is
> returned, after the bad matches.  Since this is a problem for my local
> SMB server (network-attached storage), in /etc/samba/smb.conf I've
> set:

> name resolve order = bcast

> This worked for a little while, but in the last couple of versions in
> sid, it's been going to DNS again.

mount.cifs doesn't honor smb.conf, yes.  It only resolves hostnames using
gethostbyname(), and only supports overriding this resolution using an ip=
mount option.  Presumably this worked for you before only because you were
using mount.smbfs rather than mount.cifs.

As for all hostnames being resolved incorrectly by Verizon's DNS servers,
that's not our problem to fix.  They're the ILEC where I live and I refuse
to do any business with them because of their incompetence and their
reprehensible political lobbying; if you choose to deal with an Internet
provider who spits on Internet standards, you'll have to find your own way
to overcome the resulting problems.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list