Linux CIFS filesystem development
 help / color / mirror / Atom feed
* Required key not available?
@ 2013-11-25 22:41 pisymbol .
       [not found] ` <CAPpy_fE=UgnVyUYA7spC7_rdPOvqeJYirKZk=CqqFcoe4e033w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: pisymbol . @ 2013-11-25 22:41 UTC (permalink / raw)
  To: linux-cifs

Hoping this is the right list after Googling for quite a while.

I am trying to mount a CIFS share on a Windows 7 SP1 using Kerberos
but no matter what I try, it fails with this:

# mount.cifs -o sec=krb5 //tilt.quest.com/Alex_Documents /mnt
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

# uname -a
Linux agalloch 2.6.34.9-69.ie5.fc13.x86_64 #1 SMP Sun Aug 14 22:10:19
EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
Fedora release 13 (Goddard)

# mount.cifs -V
mount.cifs version: 4.7

# klist -e
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: Administrator-LHiAKXGUGmt8zQARNC3f2A@public.gmane.org

Valid starting     Expires            Service principal
11/25/13 17:21:23  11/26/13 03:21:25  krbtgt/QUEST.COM-LHiAKXGUGmt8zQARNC3f2A@public.gmane.org
    renew until 12/02/13 17:21:23, Etype (skey, tkt): ArcFour with
HMAC/md5, ArcFour with HMAC/md5

Some more debugging output:

fs/cifs/sess.c: sess setup type 5
 fs/cifs/cifs_spnego.c: key description =
ver=0x2;host=tilt.quest.com;ip4=192.168.17.55;sec=krb5;uid=0x0;user=root;pid=0x4683
 fs/cifs/sess.c: ssetup freeing small buf ffff88035ff8a700
 CIFS VFS: Send error in SessSetup = -126
 fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 14) rc = -126
 CIFS VFS: cifs_mount failed w/return code = -126
...
Slow work thread pool: Ready
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126
 CIFS VFS: signing required but server lacks support
 CIFS VFS: cifs_mount failed w/return code = -95
 CIFS VFS: Send error in SessSetup = -126
 CIFS VFS: cifs_mount failed w/return code = -126

# cat /etc/request-keys.conf
...
create     cifs.spnetgo     *    *         /usr/sbin/cifs.upcall %k
create     dns_resolver    *     *         /usr/sbin/cifs.upcall %k

I can mount using Samba, I can mount using NTLMv1 and v2. But I can
not mount using Kerberos. I can use kvno to get a host ticket with
ease.

Folks, is there anything I'm missing here? Box is joined to AD and can
query all day long.

Thanks!

-aps

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-26 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-25 22:41 Required key not available? pisymbol .
     [not found] ` <CAPpy_fE=UgnVyUYA7spC7_rdPOvqeJYirKZk=CqqFcoe4e033w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-26  2:52   ` Jeff Layton
     [not found]     ` <20131125215241.49faa310-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-11-26 12:16       ` pisymbol .

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox