Searched refs:princ_name (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal.c151 char **subtree=NULL, *princ_name=NULL, *realm=NULL, **values=NULL, *filter=NULL; local
211 if (krb5_ldap_parse_principal_name(values[i], &princ_name) != 0)
213 if (krb5_parse_name(context, princ_name, &principal) != 0)
222 if (princ_name)
223 free(princ_name);
227 if (princ_name)
228 free(princ_name);
410 char *tmp_princ_name=NULL, *princ_name=NULL, *tmp=NULL; local
423 princ_name = (char *) malloc (strlen(user_name));
424 if (!princ_name) {
478 char *tmp_princ_name = NULL, *princ_name = NULL, *at_rlm_name = NULL; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dan_to_ln.c114 char *princ_name; local
116 if ((retval = krb5_unparse_name(context, aname, &princ_name)))
118 key.dptr = princ_name;
119 key.dsize = strlen(princ_name)+1; /* need to store the NULL for
124 krb5_xfree(princ_name);
130 krb5_xfree(princ_name);
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_xdr.c42 char *princ_name; local
45 if (!(retval = krb5_unparse_name(context, principal, &princ_name))) {
47 key->length = strlen(princ_name)+1;
48 key->data = princ_name;
H A Dkdb_db2.c1063 char *princ_name = NULL; local
1118 &princ_name)))
1121 upd->kdb_princ_name.utf8str_t_val = princ_name;
1122 upd->kdb_princ_name.utf8str_t_len = strlen(princ_name);
1194 char *princ_name = NULL; local
1235 if ((retval = krb5_unparse_name(context, searchfor, &princ_name))) {
1242 upd.kdb_princ_name.utf8str_t_val = princ_name;
1243 upd.kdb_princ_name.utf8str_t_len = strlen(princ_name);
1246 free(princ_name);
1251 free(princ_name);
[all...]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.c687 char princ_name[MAX_PRINC_SIZE]; local
732 snprintf(princ_name, sizeof(princ_name), "%s@%s", KADM5_ADMIN_SERVICE, global_params.realm);
733 if ((retval = krb5_parse_name(util_context, princ_name, &p))) {
750 snprintf(princ_name, sizeof(princ_name), "%s@%s", KADM5_CHANGEPW_SERVICE, global_params.realm);
751 if ((retval = krb5_parse_name(util_context, princ_name, &p))) {
767 snprintf(princ_name, sizeof(princ_name), "%s@%s", KADM5_HIST_PRINCIPAL, global_params.realm);
768 if ((retval = krb5_parse_name(util_context, princ_name,
[all...]

Completed in 61 milliseconds