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

samba-bugs at samba.org samba-bugs at samba.org
Sun Mar 15 11:46:15 UTC 2009


https://bugzilla.samba.org/show_bug.cgi?id=6159





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



More information about the Pkg-samba-maint mailing list