diff --git a/appl/xnlock/xnlock.c b/appl/xnlock/xnlock.c index 46648f5aa..e17509160 100644 --- a/appl/xnlock/xnlock.c +++ b/appl/xnlock/xnlock.c @@ -597,6 +597,8 @@ verify_krb5(const char *password) "krbtgt", client->realm, NULL); + mcred.client = client; + ret = krb5_cc_retrieve_cred(context, id, 0, &mcred, &cred); if(ret == 0) { ret = krb524_convert_creds_kdc_ccache(context, id, &cred, &c);