Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

3 views
Skip to first unread message

Andreas Teuchert

unread,
Jan 5, 2009, 4:50:05 AM1/5/09
to
Package: smbfs
Version: 2:3.2.5-2
Severity: normal

Hello,

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

It is still possible to access shares using kerberos with smbclient, but
mounting them fails.

Greetings,

Andreas


-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbfs depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libcomerr2 1.41.3-1 common error description library
ii libkeyutils1 1.2-9 Linux Key Management Utilities (li
ii libkrb53 1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii libldap-2.4-2 2.4.11-1 OpenLDAP libraries
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libtalloc1 1.2.0~git20080616-1 hierarchical pool based memory all
ii libwbclient0 2:3.2.5-2 client library for interfacing wit
ii netbase 4.34 Basic TCP/IP networking system
ii samba-common 2:3.2.5-2 Samba common files used by both th

smbfs recommends no packages.

Versions of packages smbfs suggests:
ii smbclient 2:3.2.5-2 a LanManager-like simple client fo

-- no debconf information

signature.asc

Steve Langasek

unread,
Jan 5, 2009, 5:40:09 AM1/5/09
to
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/
slan...@ubuntu.com vor...@debian.org

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Andreas Teuchert

unread,
Jan 6, 2009, 2:50:06 PM1/6/09
to
On Mon, Jan 05, 2009 at 02:27:09AM -0800, Steve Langasek wrote:
> 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/
> slan...@ubuntu.com vor...@debian.org

Hello Steve,

no, I never needed it before when using smbmount. Thank you very much
and sorry for the noise.

Greetings,

Andreas

signature.asc
0 new messages