/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_princ.c | 63 unsigned int len = krb5_princ_component(context, inprinc, i)->length; in krb5_copy_principal() 64 krb5_princ_component(context, tempprinc, i)->length = len; in krb5_copy_principal() 71 ((krb5_princ_component(context, tempprinc, i)->data = in krb5_copy_principal() 74 FREE(krb5_princ_component(context, tempprinc, i)->data, in krb5_copy_principal() 75 krb5_princ_component(context, inprinc, i)->length + 1); in krb5_copy_principal() 81 (void) memcpy(krb5_princ_component(context, tempprinc, i)->data, in krb5_copy_principal() 82 krb5_princ_component(context, inprinc, i)->data, len); in krb5_copy_principal() 84 krb5_princ_component(context, tempprinc, i)->data = 0; in krb5_copy_principal() 97 FREE(krb5_princ_component(context, tempprinc, i)->data, in krb5_copy_principal() 98 krb5_princ_component(context, inprinc, i)->length + 1); in krb5_copy_principal()
|
H A D | parse.c | 215 krb5_princ_component(context, principal, i)->length = size; in k5_parse_name() 220 krb5_princ_component(context, principal, i)->length = size; in k5_parse_name() 230 krb5_princ_component(context, principal, i)->length = size; in k5_parse_name() 251 krb5_princ_component(context, principal, i)->length = fcompsize[i]; in k5_parse_name() 269 MALLOC(krb5_princ_component(context, principal, i)->length + 1); in k5_parse_name() 272 krb5_xfree_wrap(krb5_princ_component(context, in k5_parse_name() 274 krb5_princ_component(context, in k5_parse_name() 288 krb5_princ_component(context, principal, i)->data = tmpdata2; in k5_parse_name() 289 krb5_princ_component(context, principal, i)->magic = KV5M_DATA; in k5_parse_name() 297 q = krb5_princ_component(context, principal, 0)->data; in k5_parse_name() [all …]
|
H A D | unparse.c | 222 cp = krb5_princ_component(context, principal, i)->data; in k5_unparse_name() 224 totalsize += component_length_quoted(krb5_princ_component(context, principal, i), flags); in k5_unparse_name() 260 cp = krb5_princ_component(context, principal, i)->data; in k5_unparse_name() 261 length = krb5_princ_component(context, principal, i)->length; in k5_unparse_name() 264 krb5_princ_component(context, in k5_unparse_name()
|
H A D | kfree.c | 516 FREE(krb5_princ_component(context, val, i)->data, in krb5_free_principal() 517 krb5_princ_component(context, val, i)->length+1); in krb5_free_principal()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pr_to_salt.c | 58 size += krb5_princ_component(context, pr, i)->length; in krb5_principal2salt_internal() 70 memcpy(&ret->data[offset], krb5_princ_component(context, pr, i)->data, in krb5_principal2salt_internal() 71 krb5_princ_component(context, pr, i)->length); in krb5_principal2salt_internal() 72 offset += krb5_princ_component(context, pr, i)->length; in krb5_principal2salt_internal()
|
H A D | princ_comp.c | 66 register const krb5_data *p1 = krb5_princ_component(context, princ1, i); in krb5_principal_compare() 67 register const krb5_data *p2 = krb5_princ_component(context, princ2, i); in krb5_principal_compare() 95 register const krb5_data *p1 = krb5_princ_component(context, princ1, i); in __krb5_principal_compare_case_ins() 96 register const krb5_data *p2 = krb5_princ_component(context, princ2, i); in __krb5_principal_compare_case_ins()
|
H A D | conv_princ.c | 170 compo = krb5_princ_component(context, princ, 0); in krb5_524_conv_principal() 183 compo = krb5_princ_component(context, princ, 1); in krb5_524_conv_principal() 197 compo = krb5_princ_component(context, princ, 1); in krb5_524_conv_principal() 208 compo = krb5_princ_component(context, princ, 0); in krb5_524_conv_principal()
|
H A D | int-proto.h | 61 data_eq_string(*krb5_princ_component((c), (p), 0), KRB5_TGS_NAME))
|
H A D | rd_req.c | 90 krb5_princ_component(context,server,0), &(*auth_context)->rcache))) in krb5_rd_req()
|
H A D | gc_frm_kdc.c | 486 r1 = krb5_princ_component(ts->ctx, ts->nxt_tgt->server, 1); in find_nxt_kdc() 490 r2 = krb5_princ_component(ts->ctx, *kdcptr, 1); in find_nxt_kdc() 605 rdst = krb5_princ_component(ts->ctx, *ts->nxt_kdc, 1); in kdc_mcred() 606 rsrc = krb5_princ_component(ts->ctx, *ts->cur_kdc, 1); in kdc_mcred()
|
H A D | recvauth.c | 161 krb5_princ_component(context, server, 0), &rcache); in recvauth_common()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 549 ? krb5_princ_component(context, aname, in rule_an_to_ln() 711 if ( strncmp(krb5_princ_component(context, aname,1)->data,def_realm, in default_an_to_ln() 713 realm_length != krb5_princ_component(context, aname,1)->length) { in default_an_to_ln() 730 strncpy(lname, krb5_princ_component(context, aname,0)->data, in default_an_to_ln() 731 min(krb5_princ_component(context, aname,0)->length,lnsize)); in default_an_to_ln() 732 if (lnsize <= krb5_princ_component(context, aname,0)->length ) { in default_an_to_ln() 735 lname[krb5_princ_component(context, aname,0)->length] = '\0'; in default_an_to_ln()
|
/titanic_41/usr/src/lib/krb5/kdb/ |
H A D | keytab.c | 226 dat = krb5_princ_component(context, princ, 0); in is_xrealm_tgt() 229 dat = krb5_princ_component(context, princ, 1); in is_xrealm_tgt()
|
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/ |
H A D | kdb5_create.c | 234 krb5_princ_component(util_context, &tgt_princ,1)->data = global_params.realm; 235 krb5_princ_component(util_context, &tgt_princ,1)->length = strlen(global_params.realm);
|
/titanic_41/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_principal.c | 82 unsigned int len = krb5_princ_component(context, inprinc, i)->length; in kadm5_copy_principal() 83 krb5_princ_component(context, tempprinc, i)->length = len; in kadm5_copy_principal() 84 if (((krb5_princ_component(context, tempprinc, i)->data = in kadm5_copy_principal() 87 krb5_db_free(context, krb5_princ_component(context, tempprinc, i)->data); in kadm5_copy_principal() 93 memcpy(krb5_princ_component(context, tempprinc, i)->data, in kadm5_copy_principal() 94 krb5_princ_component(context, inprinc, i)->data, len); in kadm5_copy_principal() 101 krb5_db_free(context, krb5_princ_component(context, tempprinc, i)->data); in kadm5_copy_principal() 125 krb5_db_free(context, krb5_princ_component(context, val, i)->data); in kadm5_free_principal() 1468 krb5_data *princ = krb5_princ_component (handle->context, principal, 0); in kadm5_chpass_principal_3()
|
H A D | server_misc.c | 185 cp = krb5_princ_component(handle->context, principal, i)->data; in passwd_check()
|
/titanic_41/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_util.c | 156 (krb5_princ_component(kdc_context, principal, 0)->length == in krb5_is_tgs_principal() 158 (!memcmp(krb5_princ_component(kdc_context, principal, 0)->data, in krb5_is_tgs_principal() 1178 (krb5_princ_component(kdc_context, ticket->server, 1)->length != in validate_tgs_request() 1180 memcmp(krb5_princ_component(kdc_context, ticket->server, 1)->data, in validate_tgs_request()
|
H A D | do_tgs_req.c | 182 krb5_princ_component(kdc_context, request->server, 1); in process_tgs_req() 184 krb5_princ_component(kdc_context, tgs_server, 1); in process_tgs_req() 829 krb5_princ_component(kdc_context, request->server, 1), in find_alternate_tgs()
|
H A D | kdc_preauth.c | 1911 krb5_princ_component(kdc_context,newp,probeslot)->data = sam_ptr->name; in get_sam_edata() 1912 krb5_princ_component(kdc_context,newp,probeslot)->length = in get_sam_edata() 1922 krb5_princ_component(kdc_context,newp,probeslot)->data = 0; in get_sam_edata() 1923 krb5_princ_component(kdc_context,newp,probeslot)->length = 0; in get_sam_edata()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 1342 princ = krb5_princ_component(context, ret_entry->principal, i); in krb5_ktfileint_internal_read_entry() 1439 princ = krb5_princ_component(context, ret_entry->principal, i); in krb5_ktfileint_internal_read_entry() 1509 princ = krb5_princ_component(context, entry->principal, i); in krb5_ktfileint_write_entry() 1612 total_size += krb5_princ_component(context, entry->principal,i)->length in krb5_ktfileint_size_entry()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 1115 const krb5_data *p = krb5_princ_component(context, princ1, 1); 1121 const krb5_data *p1 = krb5_princ_component(context, princ1, 0); 1122 const krb5_data *p2 = krb5_princ_component(context, princ2, 0); 1362 p = krb5_princ_component(context, princ, 1); in get_instance_keytab()
|
H A D | add_cred.c | 282 krb5_princ_component(context, cred->princ, 0),
|
H A D | acquire_cred.c | 211 krb5_princ_component(context, princ, 0),
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.telnetd.c | 574 krb5_princ_component( in kerberos5_is() 614 if (krb5_princ_component(telnet_context, in kerberos5_is() 618 krb5_princ_component(telnet_context, in kerberos5_is() 620 krb5_princ_component(telnet_context, in kerberos5_is() 622 princ[krb5_princ_component(telnet_context, in kerberos5_is() 778 krb5_princ_component( in kerberos5_is()
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_file.c | 508 kret = krb5_fcc_read_data(context, id, krb5_princ_component(context, tmpprinc, i)); in krb5_fcc_read_principal() 516 free(krb5_princ_component(context, tmpprinc, i)->data); in krb5_fcc_read_principal() 968 ret = krb5_fcc_store_data(context, id, krb5_princ_component(context, princ, i)); in krb5_fcc_store_principal()
|