[Pkg-samba-maint] Bug#518113: (forw) DO NOT REPLY [Bug 6159] mount.cifs fails with mount error(22): Invalid argument if server has multiple ip addresses

Christian Perrier bubulle at debian.org
Sun Mar 15 14:11:14 UTC 2009

Benoît, could you please answer to the following that comes from
Samba's Bugzilla #6159
(https://bugzilla.samba.org/show_bug.cgi?id=6159), the upstream bug
where I forwarded Debian bug #518113 which you reported.

----- Forwarded message from samba-bugs at samba.org -----

To: pkg-samba-maint at lists.alioth.debian.org
From: samba-bugs at samba.org
Date: Sun, 15 Mar 2009 06:46:15 -0500 (CDT)
Subject: [Pkg-samba-maint] DO NOT REPLY [Bug 6159] mount.cifs fails with
	mount error(22): Invalid argument if server has multiple ip
X-CRM114-Status: Good  ( pR: 35.7356 )


------- Comment #8 from jlayton at samba.org  2009-03-15 06:46 CST -------
Yes, I'm not sure that we really can support link-local addresses (and tbh: I'm
not exactly sure yet how we should support them). Our address parser doesn't
understand interface names in the scope...

I could be wrong, but aren't link-local addresses really only supposed to be
used for things like neighbor discovery?

Some confirmation of the problem from the original reporter might be nice. An
strace of the mount command that shows a link-local ip addr in the mount
options, for instance...

> If I pass options -o user=user,ip=servername,noperm the same error 22 is risen.

That's expected since you're passing something that isn't an IP address into
the kernel as if it were. When "ip=" is explicitly specified then the mount
helper doesn't bother with name resolution and passes it on directly.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.

Pkg-samba-maint mailing list
Pkg-samba-maint at lists.alioth.debian.org

 ** CRM114 Whitelisted by: lists.samba.org **

----- End forwarded message -----


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090315/c5f39508/attachment.pgp 

More information about the Pkg-samba-maint mailing list