Home
last modified time | relevance | path

Searched refs:heimtools_context (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/kuser/
H A Dkswitch.c68 krb5_errx(heimtools_context, 1, in kswitch()
86 ret = krb5_cc_cache_get_first(heimtools_context, NULL, &cursor); in kswitch()
88 krb5_err(heimtools_context, 1, ret, "krb5_cc_cache_get_first"); in kswitch()
90 while (krb5_cc_cache_next(heimtools_context, cursor, &id) == 0) { in kswitch()
94 ret = krb5_cc_get_principal(heimtools_context, id, &p); in kswitch()
96 ret = krb5_unparse_name(heimtools_context, p, &name); in kswitch()
98 krb5_cc_close(heimtools_context, id); in kswitch()
102 krb5_free_principal(heimtools_context, p); in kswitch()
107 rtbl_add_column_entry_by_id(ct, 2, krb5_cc_get_type(heimtools_context, id)); in kswitch()
114 krb5_cc_cache_end_seq_get(heimtools_context, cursor); in kswitch()
[all …]
H A Dcopy_cred_cache.c97 ret = krb5_parse_name(heimtools_context, opt->service_string, &ctx.mcreds.server); in copy_cred_cache()
99 krb5_err(heimtools_context, 1, ret, "%s", opt->service_string); in copy_cred_cache()
103 ret = krb5_string_to_enctype(heimtools_context, opt->enctype_string, &enctype); in copy_cred_cache()
105 krb5_err(heimtools_context, 1, ret, "%s", opt->enctype_string); in copy_cred_cache()
110 parse_ticket_flags(heimtools_context, opt->flags_string, &ctx.mcreds.flags); in copy_cred_cache()
117 krb5_timeofday(heimtools_context, &ctx.mcreds.times.endtime); in copy_cred_cache()
122 krb5_set_fcache_version(heimtools_context, opt->fcache_version_integer); in copy_cred_cache()
125 from_name = krb5_cc_default_name(heimtools_context); in copy_cred_cache()
132 ret = krb5_cc_resolve(heimtools_context, from_name, &from_ccache); in copy_cred_cache()
134 krb5_err(heimtools_context, 1, ret, "%s", from_name); in copy_cred_cache()
[all …]
H A Dklist.c607 exit_status = list_caches(heimtools_context, opt); in klist()
618 ret = krb5_cc_cache_get_first(heimtools_context, NULL, &cursor); in klist()
620 krb5_err(heimtools_context, 1, ret, "krb5_cc_cache_get_first"); in klist()
624 while (krb5_cc_cache_next(heimtools_context, cursor, &id) == 0) { in klist()
628 exit_status |= display_v5_ccache(heimtools_context, id, do_test, in klist()
636 krb5_cc_cache_end_seq_get(heimtools_context, cursor); in klist()
641 ret = krb5_cc_resolve(heimtools_context, opt->cache_string, &id); in klist()
643 krb5_err(heimtools_context, 1, ret, "%s", opt->cache_string); in klist()
645 ret = krb5_cc_default(heimtools_context, &id); in klist()
647 krb5_err(heimtools_context, 1, ret, "krb5_cc_resolve"); in klist()
[all …]
H A Dheimtools.c40 krb5_context heimtools_context; variable
117 ret = krb5_init_context(&heimtools_context); in main()
165 krb5_free_context(heimtools_context); in main()
H A Dkuser_locl.h108 extern krb5_context heimtools_context;