Searched refs:cred (Results 1 - 4 of 4) sorted by relevance
/sssd-io/src/tests/ |
H A D | krb5_child-test.c | 312 print_creds(krb5_context kcontext, krb5_creds *cred, const char *defname) argument 318 kret = krb5_unparse_name(kcontext, cred->client, &name); 321 kret = krb5_unparse_name(kcontext, cred->server, &sname); 324 if (!cred->times.starttime) { 325 cred->times.starttime = cred->times.authtime; 330 printf("\t\tValid from\t"); printtime(cred->times.starttime); 331 printf("\n\t\tValid until\t"); printtime(cred->times.endtime);
|
/sssd-io/src/providers/krb5/ |
H A D | krb5_ccache.c | 482 krb5_creds cred = { 0 }; local 535 KRB5_TC_MATCH_TIMES, &mcred, &cred); 545 krb5_free_cred_contents(cc->context, &cred); 564 krb5_creds cred; local 613 memset(&cred, 0, sizeof(mcred)); 618 kerr = krb5_cc_retrieve_cred(ctx, cc, 0, &mcred, &cred); 625 tgtt->authtime = cred.times.authtime; 626 tgtt->starttime = cred.times.starttime; 627 tgtt->endtime = cred.times.endtime; 628 tgtt->renew_till = cred [all...] |
H A D | krb5_child.c | 869 krb5_creds *cred = NULL; local 872 cred = calloc(sizeof(krb5_creds), 1); 873 if (cred == NULL) { 878 kerr = krb5_copy_principal(ctx, princ, &cred->client); 886 kerr = krb5_build_principal_ext(ctx, &cred->server, 899 krb5_free_cred_contents(ctx, cred); 900 free(cred); 902 *_cred = cred; 2518 krb5_creds cred; local 2528 memset(&cred, [all...] |
/sssd-io/src/util/ |
H A D | sss_krb5.c | 883 krb5_creds cred; local 892 memset(&cred, 0, sizeof(mcred)); 897 kerr = krb5_cc_retrieve_cred(ctx, ccache, 0, &mcred, &cred); 903 kerr = krb5_decode_ticket(&cred.ticket, &ticket); 977 krb5_free_cred_contents(ctx, &cred);
|
Completed in 23 milliseconds