[Pkg-samba-maint] Bug#510835: smbfs: smbmount with option -o sec=krb5 fails with mount error 5 = Input/output error

Steve Langasek vorlon at debian.org
Mon Jan 5 10:27:09 UTC 2009


On Mon, Jan 05, 2009 at 10:43:21AM +0100, Andreas Teuchert wrote:
> Package: smbfs
> Version: 2:3.2.5-2
> Severity: normal

> when I call smbmount //server/share mountpoint/ -o sec=krb5 it asks for
> a password (which is not needed with kerberos) and fails to mount the share.
> The output is:

> mount error 5 = Input/output error
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

> dmesg says: CIFS VFS: cifs_mount failed w/return code = -5

Do you have the keyutils package installed, and have you configured the
cifs.upcall helper via /etc/request-key.conf?

IIRC, suppressing the password prompt itself (counterintuitively) requires
passing the 'guest' option in addition to 'sec=krb5'; but the mount itself
won't work without keyutils installed and configured.

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