Lines Matching refs:cred
869 krb5_creds *cred = NULL;
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;
2528 memset(&cred, 0, sizeof(mcred));
2533 krberr = krb5_cc_retrieve_cred(ctx, ccache, 0, &mcred, &cred);
2543 tgtt->authtime = cred.times.authtime;
2544 tgtt->starttime = cred.times.starttime;
2545 tgtt->endtime = cred.times.endtime;
2546 tgtt->renew_till = cred.times.renew_till;
2548 krb5_free_cred_contents(ctx, &cred);