Lines Matching refs:ccache

84 	    event->ccache->name);  in log_event()
112 kcm_retain_ccache(context, event->ccache); in kcm_enqueue_event_internal()
113 (*e)->ccache = event->ccache; in kcm_enqueue_event_internal()
164 kcm_release_ccache(context, (*e)->ccache); in kcm_remove_event_internal()
175 kcm_ccache ccache, in is_primary_credential_p() argument
180 if (ccache->client == NULL) in is_primary_credential_p()
184 !krb5_principal_compare(context, ccache->client, newcred->client)) in is_primary_credential_p()
188 if (ccache->creds == NULL) in is_primary_credential_p()
195 return krb5_compare_creds(context, whichfields, newcred, &ccache->creds->cred); in is_primary_credential_p()
207 kcm_ccache ccache = event->ccache; in kcm_ccache_make_default_event() local
215 if ((ccache->flags & KCM_MASK_KEY_PRESENT) == 0) { in kcm_ccache_make_default_event()
222 } else if (is_primary_credential_p(context, ccache, newcred)) { in kcm_ccache_make_default_event()
225 ccache->flags |= KCM_FLAGS_RENEWABLE; in kcm_ccache_make_default_event()
227 if (ccache->flags & KCM_MASK_KEY_PRESENT) in kcm_ccache_make_default_event()
231 ccache->flags &= ~(KCM_FLAGS_RENEWABLE); in kcm_ccache_make_default_event()
244 kcm_ccache ccache, in kcm_ccache_enqueue_default() argument
251 event.ccache = ccache; in kcm_ccache_enqueue_default()
298 kcm_ccache ccache) in kcm_cleanup_events() argument
302 KCM_ASSERT_VALID(ccache); in kcm_cleanup_events()
307 if ((*e)->valid && (*e)->ccache == ccache) { in kcm_cleanup_events()
332 ret = kcm_ccache_acquire(context, event->ccache, &credp); in kcm_fire_event()
336 ret = kcm_ccache_refresh(context, event->ccache, &credp); in kcm_fire_event()
338 ret = kcm_ccache_acquire(context, event->ccache, &credp); in kcm_fire_event()
343 ret = kcm_ccache_destroy(context, event->ccache->name); in kcm_fire_event()
346 ret = kcm_ccache_destroy_if_empty(context, event->ccache); in kcm_fire_event()
369 if (krb5_unparse_name(context, event->ccache->client, in kcm_fire_event()
376 event->ccache->name, in kcm_fire_event()
419 (*e)->ccache->name, krb5_get_err_text(context, ret)); in kcm_run_events()
425 (*e)->ccache->name, krb5_get_err_text(context, ret)); in kcm_run_events()