Home
last modified time | relevance | path

Searched refs:krb5_princ_realm (Results 1 – 25 of 38) sorted by relevance

12

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dprinc_comp.c42 if (krb5_princ_realm(context, princ1)->length != in krb5_realm_compare()
43 krb5_princ_realm(context, princ2)->length || in krb5_realm_compare()
44 memcmp (krb5_princ_realm(context, princ1)->data, in krb5_realm_compare()
45 krb5_princ_realm(context, princ2)->data, in krb5_realm_compare()
46 krb5_princ_realm(context, princ2)->length)) in krb5_realm_compare()
H A Dset_realm.c48 (void) krb5_xfree(krb5_princ_realm(context,principal)->data); in krb5_set_principal_realm()
50 krb5_princ_realm(context, principal)->length = length; in krb5_set_principal_realm()
51 krb5_princ_realm(context, principal)->data = newrealm; in krb5_set_principal_realm()
H A Dpr_to_salt.c55 size += krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal()
65 offset = krb5_princ_realm(context, pr)->length; in krb5_principal2salt_internal()
66 memcpy(ret->data, krb5_princ_realm(context, pr)->data, offset); in krb5_principal2salt_internal()
H A Drd_req_dec.c239 realm = krb5_princ_realm(context, req->ticket->enc_part2->client); in krb5_rd_req_decoded_opt()
263 realm = krb5_princ_realm(context, req->ticket->enc_part2->client); in krb5_rd_req_decoded_opt()
274 krb5_princ_realm (context, in krb5_rd_req_decoded_opt()
H A Dgc_frm_kdc.c320 retval = krb5_tgtname(ctx, krb5_princ_realm(ctx, dst), in tgt_mcred()
321 krb5_princ_realm(ctx, src), &mcreds->server); in tgt_mcred()
344 retval = krb5_walk_realm_tree(ts->ctx, krb5_princ_realm(ts->ctx, client), in init_rtree()
345 krb5_princ_realm(ts->ctx, server), in init_rtree()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dparse.c227 krb5_princ_realm(context, principal)->length = size; in k5_parse_name()
277 krb5_xfree_wrap(krb5_princ_realm(context, in k5_parse_name()
278 principal)->data, krb5_princ_realm(context, in k5_parse_name()
326 q = krb5_princ_realm(context, principal)->data; in k5_parse_name()
340 (krb5_princ_realm(context, principal)->data)[0] = '\0'; in k5_parse_name()
342 strlcpy(krb5_princ_realm(context, principal)->data, default_realm, realmsize+1); in k5_parse_name()
H A Dunparse.c204 krb5_princ_realm(context, &p)->length = strlen(default_realm); in k5_unparse_name()
205 krb5_princ_realm(context, &p)->data = default_realm; in k5_unparse_name()
212 totalsize += component_length_quoted(krb5_princ_realm(context, in k5_unparse_name()
275 q += copy_component_quoting(q, krb5_princ_realm(context, principal), flags); in k5_unparse_name()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Dkdc_util.c142 krb5_data *realm1 = krb5_princ_realm(kdc_context, princ1); in realm_compare()
143 krb5_data *realm2 = krb5_princ_realm(kdc_context, princ2); in realm_compare()
242 if ((krb5_princ_realm(kdc_context, apreq->ticket->server)->length != in kdc_process_tgs_req()
243 krb5_princ_realm(kdc_context, tgs_server)->length) || in kdc_process_tgs_req()
244 memcmp(krb5_princ_realm(kdc_context, apreq->ticket->server)->data, in kdc_process_tgs_req()
245 krb5_princ_realm(kdc_context, tgs_server)->data, in kdc_process_tgs_req()
246 krb5_princ_realm(kdc_context, tgs_server)->length)) in kdc_process_tgs_req()
334 krb5_data *tkt_realm = krb5_princ_realm(kdc_context, in kdc_process_tgs_req()
336 krb5_data *tgs_realm = krb5_princ_realm(kdc_context, tgs_server); in kdc_process_tgs_req()
588 realm = data2string(krb5_princ_realm(kdc_context, tgs)); in add_to_transited()
[all …]
H A Ddo_tgs_req.c527 krb5_princ_realm (kdc_context, header_ticket->enc_part2->client), in process_tgs_req()
528 krb5_princ_realm (kdc_context, request->server)); in process_tgs_req()
828 krb5_princ_realm(kdc_context, request->server), in find_alternate_tgs()
840 tmp = *krb5_princ_realm(kdc_context, *pl2); in find_alternate_tgs()
842 krb5_princ_realm(kdc_context, tgs_server)); in find_alternate_tgs()
859 tmp = *krb5_princ_realm(kdc_context, *pl2); in find_alternate_tgs()
861 krb5_princ_realm(kdc_context, tgs_server)); in find_alternate_tgs()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkuserok.c115 krb5_princ_realm(kcontext, client)->length, in krb5_move_ccache()
116 krb5_princ_realm(kcontext, client)->data, in krb5_move_ccache()
118 krb5_princ_realm(kcontext, client)->length, in krb5_move_ccache()
119 krb5_princ_realm(kcontext, client)->data, in krb5_move_ccache()
H A Dchangepw.c230 krb5_princ_realm(callback_ctx.context, in krb5_change_set_password()
385 krb5_princ_realm(context, change_password_for)->length, in krb5_set_password_using_ccache()
386 krb5_princ_realm(context, change_password_for)->data, in krb5_set_password_using_ccache()
H A Dan_to_ln.c551 : krb5_princ_realm(context, aname)) in rule_an_to_ln()
668 (memcmp(*cpp, krb5_princ_realm(context, aname)->data, in an_to_ln_realm_chk()
692 realm_length = krb5_princ_realm(context, aname)->length; in default_an_to_ln()
700 (memcmp(def_realm, krb5_princ_realm(context, aname)->data, in default_an_to_ln()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_solaris.c175 if (krb5_princ_realm(ctx, f_princ)->length == 0) { in krb5_kt_add_ad_entries()
179 realm = krb5_princ_realm(ctx, f_princ)->data; in krb5_kt_add_ad_entries()
287 krb5_princ_realm(ctx, &realm_data)->length = strlen(key); in kt_remove_by_key()
288 krb5_princ_realm(ctx, &realm_data)->data = key; in kt_remove_by_key()
H A Dkt_file.c1496 size = krb5_princ_realm(context, entry->principal)->length; in krb5_ktfileint_write_entry()
1502 if (!xfwrite(krb5_princ_realm(context, entry->principal)->data, sizeof(char), in krb5_ktfileint_write_entry()
1503 krb5_princ_realm(context, entry->principal)->length, KTFILEP(id))) { in krb5_ktfileint_write_entry()
1609 total_size += krb5_princ_realm(context, entry->principal)->length + (sizeof(krb5_int16)); in krb5_ktfileint_size_entry()
/titanic_41/usr/src/lib/pam_modules/krb5/
H A Dkrb5_setcred.c323 krb5_princ_realm(kmd->kcontext, me)->length, in attempt_refresh_cred()
324 krb5_princ_realm(kmd->kcontext, me)->data, in attempt_refresh_cred()
326 krb5_princ_realm(kmd->kcontext, me)->length, in attempt_refresh_cred()
327 krb5_princ_realm(kmd->kcontext, me)->data, 0)) { in attempt_refresh_cred()
H A Dkrb5_authenticate.c570 krb5_princ_realm(kmd->kcontext, me)->length, in attempt_krb5_auth()
571 krb5_princ_realm(kmd->kcontext, me)->data, in attempt_krb5_auth()
573 krb5_princ_realm(kmd->kcontext, me)->length, in attempt_krb5_auth()
574 krb5_princ_realm(kmd->kcontext, me)->data, 0)) { in attempt_krb5_auth()
612 krb_realm = krb5_princ_realm(kmd->kcontext, me)->data; in attempt_krb5_auth()
H A Dkrb5_password.c360 krb5_princ_realm(context, princ)->data, in krb5_verifypw()
458 krb5_princ_realm(context, princ)->data); in krb5_changepw()
/titanic_41/usr/src/lib/krb5/kdb/
H A Dkdb_cpw.c415 if ((retval = krb5_copy_data(context, krb5_princ_realm(context,
440 if (retval = krb5_copy_data(context, krb5_princ_realm(context,
451 (*krb5_princ_realm(context,db_entry->princ)).length;
456 (char *)(*krb5_princ_realm(context,db_entry->princ)).data,
483 krb5_princ_realm(context, db_entry->princ)->length;
H A Dkdb_default.c154 krb5_data *realm = krb5_princ_realm(context, mname);
217 krb5_data *realm = krb5_princ_realm(context, mname); in krb5_db_def_fetch_mkey()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dacquire_cred.c386 krb5_princ_realm(context, princ)->length,
387 krb5_princ_realm(context, princ)->data,
389 krb5_princ_realm(context, princ)->length,
390 krb5_princ_realm(context, princ)->data,
H A Dinit_sec_context.c1466 krb5_princ_realm(context, me)->length, in load_root_cred_using_keytab()
1467 krb5_princ_realm(context, me)->data, in load_root_cred_using_keytab()
1469 krb5_princ_realm(context, me)->length, in load_root_cred_using_keytab()
1470 krb5_princ_realm(context, me)->data, in load_root_cred_using_keytab()
1606 krb5_princ_realm(context, me)->length, in renew_ccache()
1607 krb5_princ_realm(context, me)->data, in renew_ccache()
1609 krb5_princ_realm(context, me)->length, in renew_ccache()
1610 krb5_princ_realm(context, me)->data, in renew_ccache()
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_destroy.c142 krb5_data *realm = krb5_princ_realm(context, master_princ);
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dserver_misc.c181 cp = krb5_princ_realm(handle->context, principal)->data; in passwd_check()
/titanic_41/usr/src/cmd/krb5/kinit/
H A Dkinit.c896 krb_realm = krb5_princ_realm(k5->ctx, k5->me)->data;
1232 krb5_princ_realm(k5->ctx, k5->me)->length,
1233 krb5_princ_realm(k5->ctx, k5->me)->data,
1235 krb5_princ_realm(k5->ctx, k5->me)->data,
/titanic_41/usr/src/cmd/krb5/kadmin/kpasswd/
H A Dkpasswd.c212 krb5_princ_realm(context, princ)->data);

12