Lines Matching refs:ccache
42 kcm_ccache ccache,
55 KCM_ASSERT_VALID(ccache);
58 if (ccache->flags & KCM_FLAGS_USE_PASSWORD) {
59 if (ccache->password == NULL)
62 } else if (ccache->flags & KCM_FLAGS_USE_KEYTAB) {
63 if (ccache->keytab == NULL)
68 ccache->name);
72 /* Fake up an internal ccache */
73 kcm_internal_ccache(context, ccache, &ccdata);
76 if (ccache->server != NULL) {
77 ret = krb5_unparse_name(context, ccache->server, &in_tkt_service);
80 ccache->name);
85 realm = krb5_principal_get_realm(context, ccache->client);
91 if (ccache->tkt_life != 0)
92 krb5_get_init_creds_opt_set_tkt_life(opt, ccache->tkt_life);
93 if (ccache->renew_life != 0)
94 krb5_get_init_creds_opt_set_renew_life(opt, ccache->renew_life);
96 if (ccache->flags & KCM_FLAGS_USE_PASSWORD) {
99 ccache->client,
100 ccache->password,
109 ccache->client,
110 ccache->keytab,
119 ccache->name, msg);
130 kcm_ccache_remove_creds_internal(context, ccache);
132 ret = kcm_ccache_store_cred_internal(context, ccache, &cred, NULL, 0);
136 ccache->name, msg);