/freebsd/crypto/heimdal/lib/krb5/ |
H A D | creds.c | 210 const krb5_creds * mcreds, const krb5_creds * creds) in krb5_compare_creds() argument 214 if (match && mcreds->server) { in krb5_compare_creds() 216 match = krb5_principal_compare_any_realm (context, mcreds->server, in krb5_compare_creds() 219 match = krb5_principal_compare (context, mcreds->server, in krb5_compare_creds() 223 if (match && mcreds->client) { in krb5_compare_creds() 225 match = krb5_principal_compare_any_realm (context, mcreds->client, in krb5_compare_creds() 228 match = krb5_principal_compare (context, mcreds->client, in krb5_compare_creds() 233 match = mcreds->session.keytype == creds->session.keytype; in krb5_compare_creds() 236 match = mcreds->flags.i == creds->flags.i; in krb5_compare_creds() 239 match = (creds->flags.i & mcreds->flags.i) == mcreds->flags.i; in krb5_compare_creds() [all …]
|
H A D | get_cred.c | 694 krb5_creds mcreds; in find_cred() local 696 krb5_cc_clear_mcred(&mcreds); in find_cred() 697 mcreds.server = server; in find_cred() 699 &mcreds, out_creds); in find_cred() 704 &mcreds, *tgts)){ in find_cred() 983 krb5_creds mcreds; in get_cred_kdc_referral() local 988 krb5_cc_clear_mcred(&mcreds); in get_cred_kdc_referral() 989 mcreds.server = referral.server; in get_cred_kdc_referral() 990 ret = krb5_cc_retrieve_cred(context, ccache, 0, &mcreds, &ticket); in get_cred_kdc_referral() 1021 krb5_cc_clear_mcred(&mcreds); in get_cred_kdc_referral() [all …]
|
H A D | mcache.c | 327 krb5_creds *mcreds) in mcc_remove_cred() argument 332 if(krb5_compare_creds(context, which, mcreds, &p->cred)) { in mcc_remove_cred()
|
H A D | cache.c | 712 const krb5_creds *mcreds, in krb5_cc_retrieve_cred() argument 720 mcreds, creds); in krb5_cc_retrieve_cred() 727 if(krb5_compare_creds(context, whichfields, mcreds, creds)){ in krb5_cc_retrieve_cred()
|
H A D | scache.c | 1054 krb5_creds *mcreds) in scc_remove_cred() argument 1107 ret = krb5_compare_creds(context, which, mcreds, &creds); in scc_remove_cred()
|
/freebsd/crypto/heimdal/kuser/ |
H A D | copy_cred_cache.c | 71 krb5_creds mcreds; member 78 if (krb5_compare_creds(context, ctx->whichfields, &ctx->mcreds, creds)) in matchfunc() 95 ret = krb5_parse_name(kcc_context, opt->service_string, &ctx.mcreds.server); in copy_cred_cache() 105 ctx.mcreds.session.keytype = enctype; in copy_cred_cache() 108 parse_ticket_flags(kcc_context, opt->flags_string, &ctx.mcreds.flags); in copy_cred_cache() 115 ctx.mcreds.times.endtime = time(NULL) + t; in copy_cred_cache() 138 ret = krb5_make_principal(kcc_context, &ctx.mcreds.server, in copy_cred_cache()
|
/freebsd/crypto/heimdal/kcm/ |
H A D | cache.c | 570 const krb5_creds *mcreds) in kcm_ccache_remove_cred_internal() argument 578 if (krb5_compare_creds(context, whichfields, mcreds, &(*c)->cred)) { in kcm_ccache_remove_cred_internal() 597 const krb5_creds *mcreds) in kcm_ccache_remove_cred() argument 604 ret = kcm_ccache_remove_cred_internal(context, ccache, whichfields, mcreds); in kcm_ccache_remove_cred() 614 const krb5_creds *mcreds, in kcm_ccache_retrieve_cred_internal() argument 627 match = krb5_compare_creds(context, whichfields, mcreds, &c->cred); in kcm_ccache_retrieve_cred_internal() 644 const krb5_creds *mcreds, in kcm_ccache_retrieve_cred() argument 653 whichfields, mcreds, credp); in kcm_ccache_retrieve_cred()
|
H A D | protocol.c | 311 krb5_creds mcreds; in kcm_op_retrieve() local 330 ret = krb5_ret_creds_tag(request, &mcreds); in kcm_op_retrieve() 337 mcreds.server->name.name_string.len == 2 && in kcm_op_retrieve() 338 strcmp(mcreds.server->name.name_string.val[0], KRB5_TGS_NAME) == 0) in kcm_op_retrieve() 341 krb5_free_cred_contents(context, &mcreds); in kcm_op_retrieve() 349 krb5_free_cred_contents(context, &mcreds); in kcm_op_retrieve() 354 &mcreds, &credp); in kcm_op_retrieve() 356 !krb5_is_config_principal(context, mcreds.server)) { in kcm_op_retrieve() 366 ret = krb5_get_credentials(context, 0, &ccdata, &mcreds, &credp); in kcm_op_retrieve() 378 krb5_free_cred_contents(context, &mcreds); in kcm_op_retrieve() [all …]
|
/freebsd/crypto/heimdal/ |
H A D | ChangeLog.2003 | 900 the mcreds, check that too
|