Lines Matching refs:princ
532 krb5_const_principal princ, krb5_keytab keytab,
539 return(p_krb5_rd_req(con,pacon,data,princ,keytab,flags,pptkt));
1030 print_krb5_princ(char *label, krb5_principal_data *princ)
1035 if (princ == NULL) return;
1036 for (ui=0; ui < (int)princ->realm.length; ui++) putchar(princ->realm.data[ui]);
1037 printf(" (nametype %d) has %d strings:\n", princ->type,princ->length);
1038 for (i=0; i < (int)princ->length; i++)
1040 printf("\t%d [%d]: ", i, princ->data[i].length);
1041 for (uj=0; uj < (int)princ->data[i].length; uj++) {
1042 putchar(princ->data[i].data[uj]);
1599 char **princ;
1607 case KSSL_CLIENT: princ = &kssl_ctx->client_princ; break;
1608 case KSSL_SERVER: princ = &kssl_ctx->service_host; break;
1611 if (*princ) kssl_free(*princ);
1624 if ((*princ = kssl_calloc(1, length)) == NULL)
1630 strncat(*princ, entity[i].data, entity[i].length);
1633 strcat (*princ, "/");
1638 strcat (*princ, "@");
1639 (void) strncat(*princ, realm->data, realm->length);
1778 krb5_principal princ = NULL;
1804 KRB5_NT_SRV_HST, &princ);
1810 princ,
1825 if (princ) krb5_free_principal(krb5context, princ);
2157 /* OUT */ krb5_principal *princ,
2186 *princ = new_p;