/illumos-gate/usr/src/lib/krb5/kadm5/clnt/ |
H A D | clnt_chpass_util.c | 25 krb5_principal princ, 34 return _kadm5_chpass_principal_util(handle, handle->lhandle, princ, 24 kadm5_chpass_principal_util(void *server_handle, krb5_principal princ, char *new_pw, char **ret_pw, char *msg_ret, unsigned int msg_len) argument
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | val_cred.c | 42 krb5_principal princ; local 58 if ((code = krb5_cc_get_principal(context, cred->ccache, &princ))) { 63 if (!krb5_principal_compare(context, princ, cred->princ)) { 68 (void)krb5_free_principal(context, princ);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_findrealm.c | 29 * the components of a principal (princ) but match on any realm. When a 36 krb5_principal princ, krb5_data *realm) { 52 memcpy(&ent.principal->realm, &princ->realm, 55 match = krb5_principal_compare(context, ent.principal, princ); 35 krb5_kt_find_realm(krb5_context context, krb5_keytab keytab, krb5_principal princ, krb5_data *realm) argument
|
H A D | kt_solaris.c | 69 kt_add_entry(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, argument 93 entry.principal = princ; 145 * the host name to 15 characters and only use the host svc princ as the salt, 161 krb5_principal princ = NULL, salt = NULL, f_princ = NULL; local 197 * and only use the host svc princ as the salt, e.g. 221 if ((code = krb5_parse_name(ctx, *tprinc, &princ)) != 0) 240 code = kt_add_entry(ctx, kt, princ, salt, *tenctype, 248 krb5_free_principal(ctx, princ); 249 princ = NULL; 264 if (princ ! [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | bld_pr_ext.c | 36 krb5_build_principal_ext(krb5_context context, krb5_principal * princ, argument 92 *princ = princ_ret;
|
H A D | bld_princ.c | 36 krb5_build_principal_va(krb5_context context, krb5_principal princ, unsigned int rlen, const char *realm, va_list ap) argument 50 krb5_princ_set_realm_length(context, princ, rlen); 56 krb5_princ_set_realm_data(context, princ, tmpdata); 86 princ->data = data; 87 princ->length = i; 88 princ->type = KRB5_NT_UNKNOWN; 89 princ->magic = KV5M_PRINCIPAL; 94 krb5_build_principal(krb5_context context, krb5_principal * princ, argument 109 *princ = pr_ret;
|
H A D | vfy_increds.c | 13 krb5_cc_copy_creds_except(krb5_context context, krb5_ccache incc, krb5_ccache outcc, krb5_principal princ) argument 34 if (krb5_principal_compare(context, princ, creds.server))
|
H A D | gic_keytab.c | 134 char *princ = NULL; local 135 krb5_unparse_name(context, client, &princ); 139 princ ? princ : "<unknown>"); 140 if (princ) 141 krb5_free_unparsed_name(context, princ);
|
H A D | conv_princ.c | 157 krb5_524_conv_principal(krb5_context context, krb5_const_principal princ, argument 167 switch (krb5_princ_size(context, princ)) { 170 compo = krb5_princ_component(context, princ, 0); 183 compo = krb5_princ_component(context, princ, 1); 197 compo = krb5_princ_component(context, princ, 1); 208 compo = krb5_princ_component(context, princ, 0); 219 compo = krb5_princ_realm(context, princ); 260 krb5_principal *princ) 356 retval = krb5_build_principal(context, princ, strlen(realm), realm, name, 258 krb5_425_conv_principal(krb5_context context, const char *name, const char *instance, const char *realm, krb5_principal *princ) argument
|
H A D | rd_req_dec.c | 102 krb5_principal princ = (krb5_principal) req->ticket->server; local 104 int kret = krb5_unparse_name(context, princ, &s_name);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | export_name.c | 57 krb5_principal princ = (krb5_principal) input_name; local 59 int kret = krb5_unparse_name(context, princ, &s_name);
|
H A D | import_name.c | 60 krb5_principal princ; local 103 &princ); 123 if ((code = krb5_copy_principal(context, input, &princ))) { 208 code = krb5_parse_name(context, (char *) stringrep, &princ); 230 /* at this point, a krb5 function has been called to set princ. code 249 if (! kg_save_name((gss_name_t) princ)) { 250 krb5_free_principal(context, princ); 260 *output_name = (gss_name_t) princ;
|
H A D | acquire_cred.c | 154 krb5_principal princ; local 188 princ = (krb5_principal) desired_name; 189 if ((code = krb5_kt_get_entry(context, kt, princ, 0, 0, &entry))) { 192 if (krb5_unparse_name(context, princ, &s_name) == 0) { 211 krb5_princ_component(context, princ, 0), 243 krb5_principal princ, tmp_princ; local 346 if ((code = krb5_cc_get_principal(context, ccache, &princ))) { 355 if (! krb5_principal_compare(context, princ, (krb5_principal) desired_name)) { 356 (void)krb5_free_principal(context, princ); 363 (void)krb5_free_principal(context, princ); [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_chpass_util.c | 28 krb5_principal princ, 37 return _kadm5_chpass_principal_util(handle, handle->lhandle, princ, 43 krb5_principal princ, 27 kadm5_chpass_principal_util(void *server_handle, krb5_principal princ, char *new_pw, char **ret_pw, char *msg_ret, unsigned int msg_len) argument 42 kadm5_chpass_principal_v2(void *server_handle, krb5_principal princ, char *password, kadm5_ret_t *srvr_rsp_code, krb5_data *srvr_msg) argument
|
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | ovload.c | 130 krb5_principal princ; local 146 if((ret = krb5_parse_name(kcontext, cp, &princ))) 148 krb5_unparse_name(kcontext, princ, ¤t); 212 ret = krb5_db_get_principal(kcontext, princ, &kdb, &one, &more); 230 krb5_free_principal(kcontext, princ);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kpasswd/ |
H A D | kpasswd.c | 109 krb5_principal princ = 0; local 145 code = krb5_cc_get_principal(context, ccache, &princ); 150 code = krb5_unparse_name(context, princ, &princ_str); 184 if (! princ) { 185 code = krb5_parse_name (context, princ_str, &princ); 199 krb5_free_principal(context, princ); 206 krb5_free_principal(context, princ); 212 krb5_princ_realm(context, princ)->data); 238 krb5_free_principal(context, princ); 254 code = kadm5_get_principal(server_handle, princ, [all...] |
/illumos-gate/usr/src/cmd/krb5/kadmin/server/ |
H A D | misc.c | 122 schpw_util_wrapper(void *server_handle, krb5_principal princ, argument 129 ret = kadm5_check_min_life(server_handle, princ, msg_ret, msg_len); 133 return kadm5_chpass_principal_util(server_handle, princ, 139 randkey_principal_wrapper(void *server_handle, krb5_principal princ, argument 145 ret = kadm5_check_min_life(server_handle, princ, NULL, 0); 149 return kadm5_randkey_principal(server_handle, princ, keys, n_keys);
|
/illumos-gate/usr/src/lib/pam_modules/krb5/ |
H A D | utils.c | 107 krb5_principal princ; local 111 KRB5_NT_SRV_HST, &princ)) { 114 if (krb5_unparse_name(kcontext, princ, &princname)) { 115 krb5_free_principal(kcontext, princ); 118 /* just interested in princ name before the @REALM part */ 120 krb5_free_principal(kcontext, princ); 125 krb5_free_principal(kcontext, princ); 129 krb5_free_principal(kcontext, princ); 151 krb5_principal princ = NULL; local 178 /* need to free princ wit [all...] |
H A D | krb5_acct_mgmt.c | 62 krb5_principal princ = 0; local 78 code = krb5_parse_name(context, kprinc, &princ); 84 krb5_free_principal(context, princ); 92 krb5_princ_realm(context, princ)->data, 104 krb5_free_principal(context, princ); 117 krb5_free_principal(context, princ); 127 "princ entry"); 129 krb5_free_principal(context, princ); 133 code = kadm5_get_principal(server_handle, princ, prent, 138 krb5_free_principal(context, princ); [all...] |
H A D | krb5_password.c | 328 krb5_principal princ = 0; local 349 code = krb5_parse_name(context, kprinc, &princ); 355 krb5_free_principal(context, princ); 360 krb5_princ_realm(context, princ)->data, 372 krb5_free_principal(context, princ); 385 krb5_free_principal(context, princ); 389 krb5_free_principal(context, princ); 428 krb5_principal princ = 0; local 448 code = krb5_parse_name(context, kprinc, &princ); 453 krb5_free_principal(context, princ); [all...] |
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | chpass_util.c | 54 * princ (input) a krb5b_principal structure for the 87 krb5_principal princ, 162 code = kadm5_chpass_principal_v2(server_handle, princ, 178 code = kadm5_chpass_principal(server_handle, princ, 220 code2 = kadm5_get_principal (lhandle, princ, &princ_ent, 85 _kadm5_chpass_principal_util(void *server_handle, void *lhandle, krb5_principal princ, char *new_pw, char **ret_pw, char *msg_ret, unsigned int msg_len) argument
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | keytab.c | 221 is_xrealm_tgt(krb5_context context, krb5_const_principal princ) argument 224 if (krb5_princ_size(context, princ) != 2) 226 dat = krb5_princ_component(context, princ, 0); 229 dat = krb5_princ_component(context, princ, 1); 230 if (dat->length != princ->realm.length) 232 if (strncmp(dat->data, princ->realm.data, dat->length) == 0)
|
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/ |
H A D | ksetpw.c | 40 const krb5_principal princ, const krb5_principal sprinc, 44 const krb5_principal princ); 259 kt_remove_entries(krb5_context ctx, krb5_keytab kt, const krb5_principal princ) argument 269 code = krb5_kt_get_entry(ctx, kt, princ, 0, 0, &entry); 285 if (krb5_principal_compare(ctx, princ, entry.principal)) { 329 kt_add_entry(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, argument 371 entry->principal = princ; 384 "[-e enctype_list] [-s salt_name] [-n] princ\n"), whoami);
|
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil.c | 203 char *princ = NULL; local 210 princ = argv[++i]; 231 if (argc != 8 || !(princ && kvno && enctype) || (use_pass+use_key != 1)) { 237 retval = ktutil_add(kcontext, &ktlist, princ, kvno, enctype, use_pass);
|
H A D | ktutil_funcs.c | 111 krb5_principal princ; local 124 retval = krb5_parse_name(context, princ_str, &princ); 129 retval = krb5_unparse_name(context, princ, &princ_str); 179 retval = krb5_principal2salt(context, princ, &salt); 227 lp->entry->principal = princ;
|