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 D | ldap_principal.c | 151 …char **subtree=NULL, *princ_name=NULL, *realm=NULL, **values=NULL, *filter=NUL… 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; in krb5_ldap_unparse_principal_name() local 423 princ_name = (char *) malloc (strlen(user_name)); in krb5_ldap_unparse_principal_name() 424 if (!princ_name) { in krb5_ldap_unparse_principal_name() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 114 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 D | kdb_xdr.c | 40 char *princ_name; local 43 if (!(retval = krb5_unparse_name(context, principal, &princ_name))) { 45 key->length = strlen(princ_name)+1; 46 key->data = princ_name;
|
H A D | kdb_db2.c | 1064 char *princ_name = NULL; in krb5_db2_db_put_principal() local 1119 &princ_name))) in krb5_db2_db_put_principal() 1122 upd->kdb_princ_name.utf8str_t_val = princ_name; in krb5_db2_db_put_principal() 1123 upd->kdb_princ_name.utf8str_t_len = strlen(princ_name); in krb5_db2_db_put_principal() 1195 char *princ_name = NULL; in krb5_db2_db_delete_principal() local 1236 if ((retval = krb5_unparse_name(context, searchfor, &princ_name))) { in krb5_db2_db_delete_principal() 1243 upd.kdb_princ_name.utf8str_t_val = princ_name; in krb5_db2_db_delete_principal() 1244 upd.kdb_princ_name.utf8str_t_len = strlen(princ_name); in krb5_db2_db_delete_principal() 1247 free(princ_name); in krb5_db2_db_delete_principal() 1252 free(princ_name); in krb5_db2_db_delete_principal()
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_realm.c | 683 char princ_name[MAX_PRINC_SIZE]; local 728 snprintf(princ_name, sizeof(princ_name), "%s@%s", KADM5_ADMIN_SERVICE, global_params.realm); 729 if ((retval = krb5_parse_name(util_context, princ_name, &p))) { 746 snprintf(princ_name, sizeof(princ_name), "%s@%s", KADM5_CHANGEPW_SERVICE, global_params.realm); 747 if ((retval = krb5_parse_name(util_context, princ_name, &p))) { 763 snprintf(princ_name, sizeof(princ_name), "%s@%s", KADM5_HIST_PRINCIPAL, global_params.realm); 764 if ((retval = krb5_parse_name(util_context, princ_name, &p))) {
|