/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | ktfns.c | 34 krb5_kt_get_type (krb5_context context, krb5_keytab keytab) in krb5_kt_get_type() argument 36 return keytab->ops->prefix; in krb5_kt_get_type() 40 krb5_kt_get_name(krb5_context context, krb5_keytab keytab, char *name, in krb5_kt_get_name() argument 43 return krb5_x((keytab)->ops->get_name,(context, keytab,name,namelen)); in krb5_kt_get_name() 47 krb5_kt_close(krb5_context context, krb5_keytab keytab) in krb5_kt_close() argument 49 return krb5_x((keytab)->ops->close,(context, keytab)); in krb5_kt_close() 53 krb5_kt_get_entry(krb5_context context, krb5_keytab keytab, in krb5_kt_get_entry() argument 70 err = krb5_x((keytab)->ops->get,(context, keytab, principal, vno, enctype, in krb5_kt_get_entry() 78 krb5_kt_start_seq_get(krb5_context context, krb5_keytab keytab, in krb5_kt_start_seq_get() argument 81 return krb5_x((keytab)->ops->start_seq_get,(context, keytab, cursor)); in krb5_kt_start_seq_get() [all …]
|
H A D | ktbase.c | 210 krb5_keytab keytab; in krb5_keytab_size() local 215 keytab = (krb5_keytab) arg; in krb5_keytab_size() 216 shandle = (krb5_ser_handle) keytab->ops->serializer; in krb5_keytab_size() 217 if ((keytab != NULL) && (keytab->ops) && in krb5_keytab_size() 227 krb5_keytab keytab; in krb5_keytab_externalize() local 232 keytab = (krb5_keytab) arg; in krb5_keytab_externalize() 233 shandle = (krb5_ser_handle) keytab->ops->serializer; in krb5_keytab_externalize() 234 if ((keytab != NULL) && (keytab->ops) && in krb5_keytab_externalize()
|
H A D | kt_findrealm.c | 35 krb5_error_code krb5_kt_find_realm(krb5_context context, krb5_keytab keytab, in krb5_kt_find_realm() argument 44 ret = krb5_kt_start_seq_get(context, keytab, &cur); in krb5_kt_find_realm() 49 while ((ret = krb5_kt_next_entry(context, keytab, &ent, &cur)) == 0) { in krb5_kt_find_realm() 69 krb5_kt_end_seq_get(context, keytab, &cur); in krb5_kt_find_realm() 80 ret2 = krb5_kt_end_seq_get(context, keytab, &cur); in krb5_kt_find_realm()
|
H A D | kt_file.c | 559 krb5_keytab keytab; in krb5_ktf_keytab_size() local 564 if ((keytab = (krb5_keytab) arg)) { in krb5_ktf_keytab_size() 576 if (keytab->ops && keytab->ops->prefix) in krb5_ktf_keytab_size() 577 required += (strlen(keytab->ops->prefix)+1); in krb5_ktf_keytab_size() 585 ktdata = (krb5_ktfile_data *) keytab->data; in krb5_ktf_keytab_size() 603 krb5_keytab keytab; in krb5_ktf_keytab_externalize() local 618 if ((keytab = (krb5_keytab) arg)) { in krb5_ktf_keytab_externalize() 625 ktdata = (krb5_ktfile_data *) keytab->data; in krb5_ktf_keytab_externalize() 630 namelen = (keytab->ops && keytab->ops->prefix) ? in krb5_ktf_keytab_externalize() 631 strlen(keytab->ops->prefix)+1 : 0; in krb5_ktf_keytab_externalize() [all …]
|
/titanic_50/usr/src/cmd/krb5/kadmin/cli/ |
H A D | k5srvutil.sh | 19 klist -k $keytab | tail +4 | awk '{print $2}' | sort | uniq 72 kadmin -k -t $keytab -p $princ -q "ktadd -k $keytab $princ" 82 kadmin -k -t $keytab -p $princ -q "ktrem -k $keytab $princ old" 93 kadmin -p $princ -k -t $keytab -q "ktrem -k $keytab $princ all" 99 keytab=/etc/krb5/krb5.keytab 112 keytab=$1 142 klist -k $keytab
|
H A D | keytab.c | 54 static int add_principal(void *lhandle, char *keytab_str, krb5_keytab keytab, 58 static int remove_principal(char *keytab_str, krb5_keytab keytab, char 81 krb5_keytab *keytab) in process_keytab() argument 87 if (code = krb5_kt_default(my_context, keytab)) { in process_keytab() 91 if (code = krb5_kt_get_name(my_context, *keytab, buf, BUFSIZ)) { in process_keytab() 120 code = krb5_kt_resolve(my_context, *keytab_str, keytab); in process_keytab() 135 krb5_keytab keytab = 0; in kadmin_keytab_add() local 180 if (process_keytab(context, &keytab_str, &keytab)) in kadmin_keytab_add() 201 (void) add_principal(handle, keytab_str, keytab, in kadmin_keytab_add() 206 (void) add_principal(handle, keytab_str, keytab, in kadmin_keytab_add() [all …]
|
H A D | Makefile | 12 COMMON_OBJS = kadmin.o kadmin_ct.o ss_wrapper.o getdate.o keytab.o
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gic_keytab.c | 52 krb5_keytab keytab = (krb5_keytab) gak_data; in krb5_get_as_key_keytab() local 73 if ((ret = krb5_kt_get_entry(context, keytab, client, in krb5_get_as_key_keytab() 101 krb5_keytab keytab; in krb5_get_init_creds_keytab() local 105 if ((ret = krb5_kt_default(context, &keytab))) in krb5_get_init_creds_keytab() 108 keytab = arg_keytab; in krb5_get_init_creds_keytab() 127 ret = krb5_kt_find_realm(context, keytab, client, &realm); in krb5_get_init_creds_keytab() 155 krb5_get_as_key_keytab, (void *) keytab, in krb5_get_init_creds_keytab() 176 krb5_get_as_key_keytab, (void *) keytab, in krb5_get_init_creds_keytab() 202 (void) krb5_kt_close(context, keytab); /* Solaris Kerberos */ in krb5_get_init_creds_keytab() 216 krb5_keytab keytab; in krb5_get_in_tkt_with_keytab() local [all …]
|
H A D | vfy_increds.c | 76 krb5_keytab keytab; in krb5_verify_init_creds() local 86 keytab = NULL; in krb5_verify_init_creds() 105 keytab = keytab_arg; in krb5_verify_init_creds() 108 ret = krb5_kt_default(context, &keytab); in krb5_verify_init_creds() 115 if (keytab == NULL || in krb5_verify_init_creds() 116 (ret = krb5_kt_get_entry(context, keytab, server, 0, 0, &kte))) { in krb5_verify_init_creds() 201 if ((ret = krb5_rd_req(context, &authcon, &ap_req, server, keytab, in krb5_verify_init_creds() 238 if (!keytab_arg && keytab) in krb5_verify_init_creds() 239 (void) krb5_kt_close(context, keytab); in krb5_verify_init_creds()
|
H A D | rd_req.c | 49 …ontext, const krb5_data *inbuf, krb5_const_principal server, krb5_keytab keytab, krb5_flags *ap_re… in krb5_rd_req() argument 95 if (keytab == NULL) { in krb5_rd_req() 98 keytab = new_keytab; in krb5_rd_req() 102 keytab, ap_req_options, ticket); in krb5_rd_req()
|
H A D | recvauth.c | 53 krb5_keytab keytab, in recvauth_common() argument 173 keytab, &ap_option, ticket); in recvauth_common() 256 …char *appl_version, krb5_principal server, krb5_int32 flags, krb5_keytab keytab, krb5_ticket **tic… in krb5_recvauth() argument 259 server, flags, keytab, ticket, 0); in krb5_recvauth() 269 krb5_keytab keytab, in krb5_recvauth_version() argument 275 server, flags, keytab, ticket, version); in krb5_recvauth_version()
|
H A D | rd_req_dec.c | 73 krb5_rd_req_decrypt_tkt_part(krb5_context context, const krb5_ap_req *req, krb5_keytab keytab) in krb5_rd_req_decrypt_tkt_part() argument 83 if ((retval = krb5_kt_get_entry(context, keytab, req->ticket->server, in krb5_rd_req_decrypt_tkt_part() 148 krb5_keytab keytab, krb5_flags *ap_req_options, in krb5_rd_req_decoded_opt() argument 191 if ((retval = krb5_rd_req_decrypt_tkt_part(context, req, keytab))) in krb5_rd_req_decoded_opt() 504 krb5_keytab keytab, krb5_flags *ap_req_options, in krb5_rd_req_decoded() argument 509 req, server, keytab, in krb5_rd_req_decoded() 519 krb5_const_principal server, krb5_keytab keytab, in krb5_rd_req_decoded_anyflag() argument 524 req, server, keytab, in krb5_rd_req_decoded_anyflag()
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | add_cred.c | 234 if (cred->keytab) { 235 kttype = krb5_kt_get_type(context, cred->keytab); 250 code = krb5_kt_get_name(context, cred->keytab, 264 code = krb5_kt_resolve(context, ktboth, &new_cred->keytab); 276 new_cred->keytab = NULL; 284 if (new_cred->keytab) 285 krb5_kt_close(context, new_cred->keytab); 306 if (new_cred->keytab) 307 krb5_kt_close(context, new_cred->keytab); 326 if (new_cred->keytab) [all …]
|
H A D | acquire_cred.c | 106 krb5_gss_register_acceptor_identity(const char *keytab) in krb5_gss_register_acceptor_identity() argument 116 if (keytab == NULL) in krb5_gss_register_acceptor_identity() 119 len = strlen(keytab); in krb5_gss_register_acceptor_identity() 123 strcpy(new, keytab); in krb5_gss_register_acceptor_identity() 159 cred->keytab = NULL; 221 cred->keytab = kt; 547 cred->keytab = NULL; 599 if (cred->keytab) 600 krb5_kt_close(context, cred->keytab); 622 if (cred->keytab) [all …]
|
H A D | acquire_cred_with_pw.c | 304 cred->keytab = NULL; 347 if (cred->keytab) 348 (void) krb5_kt_close(context, cred->keytab); 364 if (cred->keytab) 365 (void) krb5_kt_close(context, cred->keytab); 385 if (cred->keytab) 386 (void) krb5_kt_close(context, cred->keytab); 415 if (cred->keytab) 416 (void) krb5_kt_close(context, cred->keytab); 434 if (cred->keytab) [all …]
|
H A D | rel_cred.c | 78 if (cred->keytab) 79 code2 = krb5_kt_close(context, cred->keytab);
|
H A D | init_sec_context.c | 1322 krb5_keytab keytab, in get_instance_keytab() argument 1333 if (!keytab) in get_instance_keytab() 1347 ret = ktfile_get_entry(context, keytab, client, in get_instance_keytab() 1396 krb5_keytab keytab = NULL; in load_root_cred_using_keytab() local 1414 if (code = krb5_kt_default(context, &keytab)) { in load_root_cred_using_keytab() 1422 code = get_instance_keytab(context, sname, keytab, &instance); in load_root_cred_using_keytab() 1437 code = krb5_kt_find_realm(context, keytab, me, &realm); in load_root_cred_using_keytab() 1458 (void) krb5_kt_close(context, keytab); in load_root_cred_using_keytab() 1474 (void) krb5_kt_close(context, keytab); in load_root_cred_using_keytab() 1487 (void) krb5_kt_close(context, keytab); in load_root_cred_using_keytab() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 116 krb5_keytab keytab, 192 krb5_keytab keytab = NULL; in main() local 261 &keytab))) { in main() 342 doit(fd, &from, krb_context, encr_flag, keytab); in main() 376 krb5_keytab keytab) in recvauth() argument 424 keytab, /* NULL to use v5srvtab */ in recvauth() 639 krb5_keytab keytab) in do_krb_login() argument 653 &auth_sys, &client, encr_flag, keytab); in do_krb_login() 883 krb5_keytab keytab, /* IN */ in krb5_compat_recvauth() argument 926 keytab, ticket, version); in krb5_compat_recvauth() [all …]
|
/titanic_50/usr/src/cmd/krb5/slave/ |
H A D | kprop.c | 211 krb5_keytab keytab = NULL; local 324 retval = krb5_kt_resolve(context, srvtab, &keytab); 340 keytab, 0, svcname, &opt); 351 if (keytab) 352 (void) krb5_kt_close(context, keytab);
|
/titanic_50/usr/src/cmd/krb5/kadmin/server/ |
H A D | misc.h | 68 krb5_keytab keytab,
|
/titanic_50/usr/src/lib/libtecla/ |
H A D | Makefile.com | 28 OBJECTS= getline.o keytab.o freelist.o strngmem.o hash.o history.o \
|
/titanic_50/usr/src/lib/krb5/kadm5/srv/ |
H A D | chgpwd.c | 47 char *realm, int s, krb5_keytab keytab, in process_chpw_request() argument 180 ret = krb5_rd_req(context, &auth_context, &ap_req, changepw, keytab, in process_chpw_request() 185 if (krb5_kt_get_name(context, keytab, in process_chpw_request()
|
/titanic_50/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 860 krb5_keytab keytab = 0; local 992 code = krb5_kt_resolve(k5->ctx, opts->keytab_name, &keytab); 1021 keytab, 1105 if (keytab) 1106 krb5_kt_close(k5->ctx, keytab);
|
/titanic_50/usr/src/lib/krb5/kdb/ |
H A D | Makefile.com | 31 keytab.o \
|
H A D | keytab.c | 41 krb5_ktkdb_get_name(krb5_context context, krb5_keytab keytab, in krb5_ktkdb_get_name() argument
|