Bug 639902

Summary: mount error(126): Required key not available
Product: [Fedora] Fedora Reporter: Colin Rudakiewicz <c.r>
Component: cifs-utilsAssignee: Jeff Layton <jlayton>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: gdeschner, jlayton, ssorce, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-21 08:20:14 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Colin Rudakiewicz 2010-10-04 06:07:58 EDT
Description of problem:
# mount.cifs //winserv/folder /mnt -o sec=krb5i,user=Administrator

# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: Administrator@LOCALDOM.COM

Valid starting        Expires     Service principal
10/04/10 10:49:20   10/04/10 20:49:23   krbtgt/LOCALDOM.LOCALDOM.COM
         renew until  10/11/10 10:49:20
10/04/10 10:49:57   10/04/10 20:49:23 winserv$@LOCALDOM.COM
         renew until 10/11/10 10:49:20

NOTE: Last entry created by smbclient -k //winserv/folder

Version-Release number of selected component (if applicable):

How reproducible:
mount.cifs //winserv/folder /mnt -o sec=krb5i,user=Administrator

Actual results:
mount error(126): Required key not available

Expected results:
mount share windows 2003 folder onto /mnt

Additional info:
Comment 1 Jeff Layton 2010-10-04 06:29:25 EDT
mount.cifs is part of the cifs-utils package. What version of that package do you have?
Comment 2 Jeff Layton 2010-10-04 08:02:07 EDT
Also...does this work any better if you try to mount using the FQDN of the server in the UNC? For instance:

# mount.cifs //winserv.example.com/folder /mnt -o sec=krb5i,user=Administrator
Comment 3 Jeff Layton 2010-12-21 08:20:14 EST
No response to any of my questions. Closing bug.