Comment 6 for bug 676525

Revision history for this message
Garen (garenp) wrote :

I noticed that pam_krb5 sets:

 $KRB5CCNAME to /tmp/krb5cc_<uid>_<six-random-chars>

Which can cause the "Required key not available" error because mount.cifs is actually looking for a per-uid, not per-session file at /tmp/_<uid>.

Not yet found a way around it, but to mount things manually I have to do e.g.:
$ sudo cp /tmp/krb5cc_<1234>_<blahblah> /tmp/krb5cc_<1234>

After that, mount commands with "-o sec=krb5" actually works. Some background info here:

https://bugzilla.redhat.com/show_bug.cgi?id=517195