use krb5_cc_resolve() and manualy created temporary files (generated with mkstemp...