Lines Matching defs:princ
506 krb5_const_principal princ, krb5_keytab keytab,
513 return (p_krb5_rd_req(con, pacon, data, princ, keytab, flags, pptkt));
1011 static void print_krb5_princ(char *label, krb5_principal_data *princ)
1016 if (princ == NULL)
1018 for (ui = 0; ui < (int)princ->realm.length; ui++)
1019 putchar(princ->realm.data[ui]);
1020 fprintf(stderr, " (nametype %d) has %d strings:\n", princ->type,
1021 princ->length);
1022 for (i = 0; i < (int)princ->length; i++) {
1023 fprintf(stderr, "\t%d [%d]: ", i, princ->data[i].length);
1024 for (uj = 0; uj < (int)princ->data[i].length; uj++) {
1025 putchar(princ->data[i].data[uj]);
1571 char **princ;
1580 princ = &kssl_ctx->client_princ;
1583 princ = &kssl_ctx->service_host;
1589 if (*princ)
1590 kssl_free(*princ);
1602 if ((*princ = kssl_calloc(1, length)) == NULL)
1606 strncat(*princ, entity[i].data, entity[i].length);
1608 strcat(*princ, "/");
1612 strcat(*princ, "@");
1613 (void)strncat(*princ, realm->data, realm->length);
1748 krb5_principal princ = NULL;
1773 KRB5SVC, KRB5_NT_SRV_HST, &princ);
1778 krb5rc = krb5_kt_get_entry(krb5context, krb5keytab, princ,
1795 if (princ)
1796 krb5_free_principal(krb5context, princ);
2183 */ krb5_principal *princ,
2222 *princ = new_p;