Searched refs:kcc_context (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/crypto/heimdal/kuser/
H A Dkswitch.c66 krb5_errx(kcc_context, 1,
84 ret = krb5_cc_cache_get_first(kcc_context, NULL, &cursor);
86 krb5_err(kcc_context, 1, ret, "krb5_cc_cache_get_first");
88 while (krb5_cc_cache_next(kcc_context, cursor, &id) == 0) {
92 ret = krb5_cc_get_principal(kcc_context, id, &p);
96 ret = krb5_unparse_name(kcc_context, p, &name);
97 krb5_free_principal(kcc_context, p);
102 rtbl_add_column_entry_by_id(ct, 2, krb5_cc_get_type(kcc_context, id));
109 krb5_cc_cache_end_seq_get(kcc_context, cursor);
118 krb5_errx(kcc_context,
[all...]
H A Dcopy_cred_cache.c95 ret = krb5_parse_name(kcc_context, opt->service_string, &ctx.mcreds.server);
97 krb5_err(kcc_context, 1, ret, "%s", opt->service_string);
101 ret = krb5_string_to_enctype(kcc_context, opt->enctype_string, &enctype);
103 krb5_err(kcc_context, 1, ret, "%s", opt->enctype_string);
108 parse_ticket_flags(kcc_context, opt->flags_string, &ctx.mcreds.flags);
119 krb5_set_fcache_version(kcc_context, opt->fcache_version_integer);
122 from_name = krb5_cc_default_name(kcc_context);
129 ret = krb5_cc_resolve(kcc_context, from_name, &from_ccache);
131 krb5_err(kcc_context, 1, ret, "%s", from_name);
135 ret = krb5_cc_get_principal(kcc_context, from_ccach
[all...]
H A Dkcc.c38 krb5_context kcc_context; variable
115 ret = krb5_init_context(&kcc_context);
153 krb5_warnx(kcc_context, "unrecognized command: %s", argv[0]);
163 krb5_free_context(kcc_context);
H A Dklist.c586 exit_status = list_caches(kcc_context);
596 ret = krb5_cc_cache_get_first(kcc_context, NULL, &cursor);
598 krb5_err(kcc_context, 1, ret, "krb5_cc_cache_get_first");
601 while (krb5_cc_cache_next(kcc_context, cursor, &id) == 0) {
602 exit_status |= display_v5_ccache(kcc_context, id, do_test,
607 krb5_cc_cache_end_seq_get(kcc_context, cursor);
611 ret = krb5_cc_resolve(kcc_context, opt->cache_string, &id);
613 krb5_err(kcc_context, 1, ret, "%s", opt->cache_string);
615 ret = krb5_cc_default(kcc_context, &id);
617 krb5_err(kcc_context,
[all...]
H A Dkuser_locl.h106 extern krb5_context kcc_context;

Completed in 79 milliseconds