Searched refs:ccache (Results 26 - 50 of 80) sorted by relevance

1234

/freebsd-10.0-release/crypto/heimdal/lib/gssapi/krb5/
H A Dgsskrb5_locl.h82 krb5_ccache ccache; member in struct:gsskrb5_ctx
101 struct krb5_ccache_data *ccache; member in struct:__anon4785
H A Dcopy_ccache.c47 if (cred->ccache == NULL) {
53 kret = krb5_cc_copy_cache(context, cred->ccache, out);
135 kret = krb5_cc_resolve(context, str, &handle->ccache);
183 if (handle->ccache)
184 krb5_cc_close(context, handle->ccache);
H A Dinit_sec_context.c124 ctx->ccache = NULL;
205 krb5_ccache ccache,
248 ccache,
287 krb5_cc_close(context, ctx->ccache);
288 ctx->ccache = NULL;
314 krb5_ccache ccache,
328 kret = krb5_cc_get_principal(context, ccache, &creds.client);
353 ccache,
408 kret = krb5_cc_default (context, &ctx->ccache);
416 ctx->ccache
202 gsskrb5_get_creds( OM_uint32 * minor_status, krb5_context context, krb5_ccache ccache, gsskrb5_ctx ctx, const gss_name_t target_name, int use_dns, OM_uint32 time_req, OM_uint32 * time_rec) argument
312 do_delegation(krb5_context context, krb5_auth_context ac, krb5_ccache ccache, krb5_creds *cred, krb5_const_principal name, krb5_data *fwd_data, uint32_t flagmask, uint32_t *flags) argument
[all...]
H A Daccept_sec_context.c159 krb5_ccache ccache = NULL; local
167 kret = krb5_cc_default (context, &ccache);
171 NULL, &ccache);
178 kret = krb5_cc_initialize(context, ccache, ctx->source);
190 ccache,
206 ccache,
216 krb5_cc_close(context, ccache);
217 ccache = NULL;
221 if (ccache) {
224 krb5_cc_close(context, ccache);
[all...]
H A Dcreds.c62 type = krb5_cc_get_type(context, handle->ccache);
72 ret = _krb5_get_krbtgt(context, handle->ccache,
97 ret = krb5_cc_get_full_name(context, handle->ccache, &str);
249 handle->ccache = id;
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dconvert_creds.c43 * gotten from the KDC and stored in the cred cache `ccache'.
69 * check the credential cache ccache before checking with the KDC.
72 * @param ccache credential cache used to check for des-ticket.
84 krb5_ccache ccache,
H A Dget_cred.c142 krb5_ccache ccache,
736 krb5_ccache ccache,
771 ret = find_cred(context, ccache, tmp_creds.server,
784 ret = get_cred_kdc_address(context, ccache, flags, NULL,
808 ret = get_cred_kdc_capath(context, flags, ccache, &tmp_creds,
856 ret = get_cred_kdc_address (context, ccache, flags, NULL,
886 krb5_ccache ccache,
900 ret = get_cred_kdc_capath_worker(context, flags, ccache, in_creds, try_realm,
909 ret = get_cred_kdc_capath_worker(context, flags, ccache, in_creds,
921 krb5_ccache ccache,
141 init_tgs_req(krb5_context context, krb5_ccache ccache, krb5_addresses *addresses, krb5_kdc_flags flags, Ticket *second_ticket, krb5_creds *in_creds, krb5_creds *krbtgt, unsigned nonce, const METHOD_DATA *padata, krb5_keyblock **subkey, TGS_REQ *t) argument
734 get_cred_kdc_capath_worker(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, krb5_creds *in_creds, krb5_const_realm try_realm, krb5_principal impersonate_principal, Ticket *second_ticket, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
884 get_cred_kdc_capath(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, krb5_creds *in_creds, krb5_principal impersonate_principal, Ticket *second_ticket, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
919 get_cred_kdc_referral(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, krb5_creds *in_creds, krb5_principal impersonate_principal, Ticket *second_ticket, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
1081 _krb5_get_cred_kdc_any(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, krb5_creds *in_creds, krb5_principal impersonate_principal, Ticket *second_ticket, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
1121 krb5_get_credentials_with_flags(krb5_context context, krb5_flags options, krb5_kdc_flags flags, krb5_ccache ccache, krb5_creds *in_creds, krb5_creds **out_creds) argument
1207 krb5_get_credentials(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds *in_creds, krb5_creds **out_creds) argument
1320 krb5_get_creds(krb5_context context, krb5_get_creds_opt opt, krb5_ccache ccache, krb5_const_principal inprinc, krb5_creds **out_creds) argument
1448 krb5_get_renewed_creds(krb5_context context, krb5_creds *creds, krb5_const_principal client, krb5_ccache ccache, const char *in_tkt_service) argument
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/kadm5/
H A Dinit_c.c322 krb5_ccache ccache,
341 if(ccache != NULL) {
342 id = ccache;
389 if(ccache != NULL)
394 if(id && (id != ccache))
459 ctx->ccache, &cc);
483 if(ctx->ccache == NULL)
509 if(ctx->ccache == NULL)
540 if(ctx->ccache == NULL)
562 krb5_ccache ccache,
316 _kadm5_c_get_cred_cache(krb5_context context, const char *client_name, const char *server_name, const char *password, krb5_prompter_fct prompter, const char *keytab, krb5_ccache ccache, krb5_ccache *ret_cache) argument
557 kadm5_c_init_with_context(krb5_context context, const char *client_name, const char *password, krb5_prompter_fct prompter, const char *keytab, krb5_ccache ccache, const char *service_name, kadm5_config_params *realm_params, unsigned long struct_version, unsigned long api_version, void **server_handle) argument
607 init_context(const char *client_name, const char *password, krb5_prompter_fct prompter, const char *keytab, krb5_ccache ccache, const char *service_name, kadm5_config_params *realm_params, unsigned long struct_version, unsigned long api_version, void **server_handle) argument
735 kadm5_c_init_with_creds_ctx(krb5_context context, const char *client_name, krb5_ccache ccache, const char *service_name, kadm5_config_params *realm_params, unsigned long struct_version, unsigned long api_version, void **server_handle) argument
758 kadm5_c_init_with_creds(const char *client_name, krb5_ccache ccache, const char *service_name, kadm5_config_params *realm_params, unsigned long struct_version, unsigned long api_version, void **server_handle) argument
[all...]
H A Dprivate.h111 krb5_ccache ccache; member in struct:kadm5_client_context
122 krb5_ccache ccache; member in struct:kadm5_ad_context
H A Dinit_s.c201 krb5_ccache ccache,
219 krb5_ccache ccache,
235 ccache,
199 kadm5_s_init_with_creds_ctx(krb5_context context, const char *client_name, krb5_ccache ccache, const char *service_name, kadm5_config_params *realm_params, unsigned long struct_version, unsigned long api_version, void **server_handle) argument
218 kadm5_s_init_with_creds(const char *client_name, krb5_ccache ccache, const char *service_name, kadm5_config_params *realm_params, unsigned long struct_version, unsigned long api_version, void **server_handle) argument
/freebsd-10.0-release/lib/libpam/modules/pam_krb5/
H A Dpam_krb5.c88 #define PAM_OPT_CCACHE "ccache"
114 krb5_ccache ccache; local
264 krbret = krb5_cc_new_unique(pam_context, krb5_cc_type_memory, NULL, &ccache);
272 krbret = krb5_cc_initialize(pam_context, ccache, princ);
280 krbret = krb5_cc_store_cred(pam_context, ccache, &creds);
285 krb5_cc_destroy(pam_context, ccache);
297 krbret = verify_krb_v5_tgt(pam_context, ccache, srvdup,
302 krb5_cc_destroy(pam_context, ccache);
309 retval = pam_get_data(pamh, "ccache", &ccache_data);
311 krb5_cc_destroy(pam_context, ccache);
612 krb5_ccache ccache; local
838 verify_krb_v5_tgt(krb5_context context, krb5_ccache ccache, char *pam_service, int debug) argument
963 krb5_ccache ccache; local
[all...]
/freebsd-10.0-release/crypto/heimdal/kuser/
H A Dkinit.c350 krb5_ccache ccache,
601 ret = krb5_cc_new_unique(context, krb5_cc_get_type(context, ccache),
616 ret = krb5_cc_move(context, tempccache, ccache);
621 krb5_cc_switch(context, ccache);
625 store_ntlmkey(context, ccache, ntlm_domain, &ntlmkey);
640 krb5_cc_set_config(context, ccache, NULL, "realm-config", &data);
689 krb5_ccache ccache; member in struct:renew_ctx
704 ctx->ccache, server_str, ctx->ticket_life);
712 ctx->ccache, ctx->ticket_life, 0);
716 krb5_afslog(ctx->context, ctx->ccache, NUL
348 get_new_tickets(krb5_context context, krb5_principal principal, krb5_ccache ccache, krb5_deltat ticket_life, int interactive) argument
729 krb5_ccache ccache; local
[all...]
H A Dklist.c223 * Print all tickets in `ccache' on stdout, verbosily iff do_verbose.
228 krb5_ccache ccache,
248 krb5_cc_get_type(context, ccache),
249 krb5_cc_get_name(context, ccache));
252 ret = krb5_cc_get_friendly_name(context, ccache, &name);
262 krb5_cc_get_version(context, ccache));
264 krb5_cc_set_flags(context, ccache, KRB5_TC_NOTICKET);
267 ret = krb5_cc_get_kdc_offset(context, ccache, &sec);
289 ret = krb5_cc_start_seq_get (context, ccache, &cursor);
303 ccache,
227 print_tickets(krb5_context context, krb5_ccache ccache, krb5_principal principal, int do_verbose, int do_flags, int do_hidden) argument
332 check_for_tgt(krb5_context context, krb5_ccache ccache, krb5_principal principal, time_t *expiration) argument
449 display_v5_ccache(krb5_context context, krb5_ccache ccache, int do_test, int do_verbose, int do_flags, int do_hidden) argument
[all...]
H A Dkimpersonate.c151 krb5_ccache ccache; local
199 ret = krb5_cc_resolve(context, ccache_str, &ccache);
203 ret = krb5_cc_default (context, &ccache);
208 ret = krb5_cc_initialize (context, ccache, cred.client);
212 ret = krb5_cc_store_cred (context, ccache, &cred);
217 krb5_cc_close (context, ccache);
270 { "ccache", 0, arg_string, &ccache_str,
/freebsd-10.0-release/crypto/heimdal/appl/test/
H A Duu_client.c46 krb5_ccache ccache; local
69 status = krb5_cc_default (context, &ccache);
94 status = krb5_cc_get_principal(context, ccache, &client);
106 status = krb5_cc_retrieve_cred(context, ccache, 0, &mcred, &cred);
H A Dgssapi_server.c147 krb5_ccache ccache; local
238 maj_stat = krb5_cc_resolve(context, "FILE:/tmp/krb5cc_test", &ccache);
241 ccache);
244 maj_stat = krb5_cc_get_principal(context, ccache, &p);
255 krb5_cc_close(context, ccache);
/freebsd-10.0-release/crypto/heimdal/appl/su/
H A Dsu.c143 static krb5_ccache ccache; variable
194 ret = krb5_cc_new_unique(context, krb5_cc_type_memory, NULL, &ccache);
200 ret = krb5_verify_user(context, p, ccache, NULL, TRUE, NULL);
207 krb5_cc_destroy(context, ccache);
211 krb5_cc_destroy(context, ccache);
215 krb5_cc_destroy(context, ccache);
235 krb5_cc_destroy(context, ccache);
239 ret = krb5_cc_copy_cache(context, ccache, ccache2);
241 krb5_cc_destroy(context, ccache);
249 krb5_cc_destroy(context, ccache);
[all...]
/freebsd-10.0-release/crypto/heimdal/appl/kf/
H A Dkfd.c135 krb5_ccache ccache; local
241 status = krb5_cc_resolve (context, ccname, &ccache);
246 status = krb5_cc_initialize (context, ccache, ticket->client);
251 status = krb5_rd_cred2 (context, auth_context, ccache, &data);
252 krb5_cc_close (context, ccache);
H A Dkf.c49 { "ccache", 'c',arg_string, &ccache_name, "remote cred cache","ccache"},
134 krb5_ccache ccache; local
206 status = krb5_cc_default (context, &ccache);
213 status = krb5_cc_get_principal (context, ccache, &principal);
243 ccache,
/freebsd-10.0-release/contrib/telnet/libtelnet/
H A Dkerberos5.c180 krb5_ccache ccache; local
192 ret = krb5_cc_default(context, &ccache);
195 print_krb5_error(context, ret, "Kerberos V5: could not get default ccache: %s\r\n");
267 &cksum_data, ccache, &auth);
506 krb5_ccache ccache; local
517 ret = krb5_cc_resolve (context, ccname, &ccache);
520 print_krb5_error(context, ret, "Kerberos V5: could not get ccache: %s\r\n");
525 ccache,
529 print_krb5_error(context, ret, "Kerberos V5: could not init ccache: %s\r\n");
538 ccache,
748 krb5_ccache ccache; local
[all...]
/freebsd-10.0-release/crypto/heimdal/appl/telnet/libtelnet/
H A Dkerberos5.c198 krb5_ccache ccache; local
210 ret = krb5_cc_default(context, &ccache);
213 printf("Kerberos V5: could not get default ccache: %s\r\n",
286 &cksum_data, ccache, &auth);
545 krb5_ccache ccache; local
556 ret = krb5_cc_resolve (context, ccname, &ccache);
558 log_message("Kerberos V5: could not get ccache: %s",
564 ccache,
567 log_message("Kerberos V5: could not init ccache: %s",
577 ccache,
790 krb5_ccache ccache; local
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/
H A Dtest_acquire_cred.c182 static char *ccache; variable
192 {"ccache", 0, arg_string, &ccache, "name", NULL },
257 if (ccache) {
258 maj_stat = gss_krb5_ccache_name(&min_stat, ccache, NULL);
/freebsd-10.0-release/lib/libpam/modules/pam_ksu/
H A Dpam_ksu.c185 krb5_ccache ccache; local
208 rv = krb5_cc_resolve(context, ccname, &ccache);
211 rv = krb5_cc_get_principal(context, ccache, &default_principal);
212 krb5_cc_close(context, ccache);
/freebsd-10.0-release/crypto/heimdal/kdc/
H A Dhprop.c276 HDB *db, krb5_ccache ccache,
334 ccache,
389 krb5_ccache ccache = NULL; local
432 get_creds(context, &ccache);
464 db, ccache, optidx, argc, argv);
466 if(ccache != NULL)
467 krb5_cc_destroy(context, ccache);
274 propagate_database(krb5_context context, int type, const char *database_name, HDB *db, krb5_ccache ccache, int optidx, int argc, char **argv) argument
/freebsd-10.0-release/crypto/heimdal/appl/rsh/
H A Drshd.c56 krb5_ccache ccache, ccache2; variable
175 ret = krb5_cc_new_unique(context, krb5_cc_type_memory, NULL, &ccache);
181 krb5_cc_initialize(context,ccache,client);
182 ret = krb5_rd_cred2(context, auth_context, ccache, &remote_cred);
205 krb5_cc_destroy(context, ccache);
209 ret = krb5_cc_copy_cache (context, ccache, ccache2);
215 krb5_cc_destroy(context, ccache);
220 krb5_cc_destroy(context, ccache);
823 krb5_ccache ccache; local
826 status = krb5_cc_resolve (context, tkfile, &ccache);
[all...]

Completed in 384 milliseconds

1234