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

123456

/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/saslauthd/
H A Dauth_krb5.c181 krb5_ccache ccache = NULL; local
212 syslog(LOG_ERR, "auth_krb5: could not generate ccache name");
216 if (krb5_cc_resolve(context, tfname, &ccache)) {
226 krb5_cc_destroy(context, ccache);
235 krb5_verify_opt_set_ccache(&opt, ccache);
247 krb5_cc_destroy(context, ccache);
269 krb5_ccache ccache)
314 thishost, NULL, ccache, &packet))) {
367 krb5_ccache ccache = NULL; local
403 if (krb5_cc_resolve(context, tfname, &ccache)) {
268 k5support_verify_tgt(krb5_context context, krb5_ccache ccache) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Dverify_user.c40 krb5_ccache ccache,
62 if(ccache == NULL)
65 id = ccache;
71 if(ccache == NULL)
79 krb5_ccache ccache; member in struct:krb5_verify_opt
93 * As a side effect, fresh tickets are obtained and stored in `ccache'.
125 krb5_verify_opt_set_ccache(krb5_verify_opt *opt, krb5_ccache ccache) argument
127 opt->ccache = ccache;
205 OPT(ccache, NUL
37 verify_common(krb5_context context, krb5_principal principal, krb5_principal server_principal, krb5_ccache ccache, krb5_keytab keytab, krb5_boolean secure, const char *service, krb5_creds *cred) argument
250 krb5_verify_user(krb5_context context, krb5_principal principal, krb5_ccache ccache, const char *password, krb5_boolean secure, const char *service) argument
274 krb5_verify_user_lrealm(krb5_context context, krb5_principal principal, krb5_ccache ccache, const char *password, krb5_boolean secure, const char *service) argument
[all...]
H A Dsendauth.c73 krb5_ccache ccache,
124 if (ccache == NULL) {
125 ret = krb5_cc_default (context, &ccache);
132 ret = krb5_cc_get_principal (context, ccache, &this_client);
135 krb5_cc_close(context, ccache);
148 ret = krb5_get_credentials (context, 0, ccache, in_creds, &creds);
151 krb5_cc_close(context, ccache);
158 krb5_cc_close(context, ccache);
64 krb5_sendauth(krb5_context context, krb5_auth_context *auth_context, krb5_pointer p_fd, const char *appl_version, krb5_principal client, krb5_principal server, krb5_flags ap_req_options, krb5_data *in_data, krb5_creds *in_creds, krb5_ccache ccache, krb5_error **ret_error, krb5_ap_rep_enc_part **rep_result, krb5_creds **out_creds) argument
H A Dacache.c56 cc_ccache_t ccache; member in struct:krb5_acc
444 error = (*a->ccache->func->get_name)(a->ccache, &name);
480 &a->ccache);
536 error = (*a->context->func->open_ccache)(a->context, res, &a->ccache);
546 error = (*a->ccache->func->get_kdc_time_offset)(a->ccache,
553 a->ccache = NULL;
575 a->ccache = NULL;
599 &a->ccache);
[all...]
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 Dtest_ap-req.c71 krb5_ccache ccache,
86 ccache,
168 const char *principal, *keytab, *ccache; local
194 ccache = argv[2];
200 ret = krb5_cc_resolve(context, ccache, &id);
67 test_ap(krb5_context context, krb5_principal target, krb5_principal server, krb5_keytab keytab, krb5_ccache ccache, const krb5_flags client_flags) argument
H A Dget_cred.c401 krb5_ccache ccache,
438 ret = find_cred(context, ccache, tmp_creds.server,
451 ret = get_cred_kdc_address(context, ccache, fast_state,
482 ret = get_cred_kdc_capath(context, flags, ccache, fast_state, &tmp_creds,
530 ret = get_cred_kdc_address (context, ccache, fast_state, flags, NULL,
564 krb5_ccache ccache,
580 ret = get_cred_kdc_capath_worker(context, flags, ccache, fast_state, in_creds, try_realm,
589 ret = get_cred_kdc_capath_worker(context, flags, ccache, fast_state, in_creds,
602 krb5_ccache ccache,
651 ret = find_cred(context, ccache, tgtnam
399 get_cred_kdc_capath_worker(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, struct krb5_fast_state *fast_state, krb5_creds *in_creds, krb5_const_realm try_realm, krb5_principal impersonate_principal, Ticket *second_ticket, const char *kdc_hostname, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
562 get_cred_kdc_capath(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, struct krb5_fast_state *fast_state, krb5_creds *in_creds, krb5_principal impersonate_principal, Ticket *second_ticket, const char *kdc_hostname, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
600 get_cred_kdc_referral(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, struct krb5_fast_state *fast_state, krb5_creds *in_creds, krb5_principal impersonate_principal, Ticket *second_ticket, const char *kdc_hostname, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
771 _krb5_get_cred_kdc_any(krb5_context context, krb5_kdc_flags flags, krb5_ccache ccache, struct krb5_fast_state *fast_state, krb5_creds *in_creds, krb5_principal impersonate_principal, Ticket *second_ticket, krb5_creds **out_creds, krb5_creds ***ret_tgts) argument
844 store_tgts(krb5_context context, krb5_ccache ccache, krb5_creds **tgts) argument
874 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
1058 krb5_get_credentials(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds *in_creds, krb5_creds **out_creds) argument
1171 krb5_get_creds(krb5_context context, krb5_get_creds_opt opt, krb5_ccache ccache, krb5_const_principal inprinc, krb5_creds **out_creds) argument
1309 krb5_get_renewed_creds(krb5_context context, krb5_creds *creds, krb5_const_principal client, krb5_ccache ccache, const char *in_tkt_service) argument
[all...]
H A Ddeprecated.c228 krb5_ccache ccache,
243 ccache,
270 krb5_ccache ccache,
282 ccache,
296 ccache,
353 krb5_ccache ccache,
373 ccache,
378 * Generate a new ccache of type `ops' in `id'.
533 krb5_ccache ccache,
542 return _krb5_get_cred_kdc_any(context, f, ccache, NUL
[all...]
/macosx-10.10.1/Heimdal-398.1.2/kcm/
H A Dcache.c147 kcm_ccache *ccache)
152 *ccache = NULL;
167 *ccache = p;
178 kcm_ccache *ccache)
183 *ccache = NULL;
198 *ccache = p;
334 kcm_update_renew_time(kcm_ccache ccache) argument
337 time_t expire = ccache->expire;
348 ccache->name, (int)(renewtime - time(NULL)));
350 heim_ipc_event_set_time(ccache
145 kcm_ccache_resolve_by_name(krb5_context context, const char *name, kcm_ccache *ccache) argument
176 kcm_ccache_resolve_by_uuid(krb5_context context, kcmuuid_t uuid, kcm_ccache *ccache) argument
549 kcm_ccache_update_acquire_status(krb5_context context, kcm_ccache ccache, int status, krb5_error_code ret) argument
646 kcm_ccache_remove_creds_internal(krb5_context context, kcm_ccache ccache) argument
668 kcm_ccache_remove_creds(krb5_context context, kcm_ccache ccache) argument
717 kcm_retain_ccache(krb5_context context, kcm_ccache ccache) argument
756 kcm_ccache_new(krb5_context context, const char *name, kcm_ccache *ccache) argument
775 kcm_ccache_store_cred(krb5_context context, kcm_ccache ccache, krb5_creds *creds, int copy) argument
792 kcm_ccache_find_cred_uuid(krb5_context context, kcm_ccache ccache, kcmuuid_t uuid) argument
808 kcm_ccache_store_cred_internal(krb5_context context, kcm_ccache ccache, krb5_creds *creds, kcmuuid_t uuid, int copy) argument
863 kcm_ccache_remove_cred_internal(krb5_context context, kcm_ccache ccache, krb5_flags whichfields, const krb5_creds *mcreds) argument
892 kcm_ccache_remove_cred(krb5_context context, kcm_ccache ccache, krb5_flags whichfields, const krb5_creds *mcreds) argument
909 kcm_ccache_retrieve_cred_internal(krb5_context context, kcm_ccache ccache, krb5_flags whichfields, const krb5_creds *mcreds, krb5_creds **creds) argument
939 kcm_ccache_retrieve_cred(krb5_context context, kcm_ccache ccache, krb5_flags whichfields, const krb5_creds *mcreds, krb5_creds **credp) argument
[all...]
H A Dprotocol.c93 kcm_ccache ccache; local
102 name, &ccache);
108 ret = krb5_store_stringz(response, ccache->name);
110 kcm_release_ccache(context, ccache);
116 kcm_release_ccache(context, ccache);
166 kcm_ccache ccache; local
186 ret = kcm_ccache_new_client(context, client, name, &ccache);
193 ccache->client = principal;
197 kcm_release_ccache(context, ccache);
255 kcm_ccache ccache; local
317 kcm_ccache ccache; local
384 kcm_ccache ccache; local
428 kcm_ccache ccache; local
473 kcm_ccache ccache; local
532 kcm_ccache ccache; local
591 kcm_ccache ccache; local
639 kcm_ccache ccache; local
692 kcm_ccache ccache; local
749 kcm_ccache ccache; local
854 kcm_ccache ccache; local
1176 kcm_ccache ccache; local
1207 kcm_ccache ccache; local
1245 kcm_ccache ccache; local
1281 kcm_ccache ccache; local
1328 kcm_ccache ccache; local
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/krb5/
H A Drelease_cred.c60 if (cred->ccache != NULL) {
62 krb5_cc_destroy(context, cred->ccache);
64 krb5_cc_close(context, cred->ccache);
H A Dinquire_cred_by_oid.c70 if (cred->ccache == NULL) {
76 ret = krb5_cc_get_full_name(context, cred->ccache, &str);
99 if (cred->ccache == NULL || cred->principal == NULL)
107 ret = _krb5_get_krbtgt(context, cred->ccache, cred->principal->realm, &kcred);
113 &cred->ccache,
132 if (cred->ccache == NULL) {
138 ret = krb5_cc_get_uuid(context, cred->ccache, uuid);
170 if (cred->ccache == NULL) {
179 ret = krb5_cc_get_full_name(context, cred->ccache, &str);
217 ret = krb5_cc_start_seq_get (context, cred->ccache,
[all...]
H A Dacquire_cred.c218 krb5_ccache ccache = NULL; local
232 &ccache);
238 if (ccache == NULL) {
239 kret = krb5_cc_default(context, &ccache);
243 kret = krb5_cc_get_principal(context, ccache, &def_princ);
246 krb5_cc_close(context, ccache);
258 krb5_cc_close(context, ccache);
259 ccache = NULL;
278 kret = krb5_cc_cache_match(context, handle->principal, &ccache);
290 kret = krb5_cc_new_unique(context, krb5_cc_type_memory, NULL, &ccache);
805 krb5_ccache ccache = NULL, ccachereplace = NULL; local
[all...]
H A Dcopy_ccache.c49 if (cred->ccache == NULL) {
55 kret = krb5_cc_copy_cache(context, cred->ccache, out);
137 kret = krb5_cc_resolve(context, str, &handle->ccache);
173 if (handle->ccache)
174 krb5_cc_close(context, handle->ccache);
H A Dcreds.c63 type = krb5_cc_get_type(context, handle->ccache);
74 if (handle->ccache == NULL)
84 ret = _krb5_get_krbtgt(context, handle->ccache,
245 handle->ccache = id;
289 ret = krb5_cc_get_config(context, cred->ccache, NULL, "nah-created", &data);
296 ret = func(context, cred->ccache);
332 if (cred->ccache == NULL) {
337 ret = krb5_cc_get_config(context, cred->ccache, NULL, label, &data);
363 if (cred->ccache == NULL) {
374 ret = krb5_cc_set_config(context, cred->ccache, NUL
[all...]
H A Ddelete_sec_context.c61 if (ctx->ccache) {
63 krb5_cc_close(context, ctx->ccache);
65 krb5_cc_destroy(context, ctx->ccache);
/macosx-10.10.1/OpenSSH-189/openssh/
H A Dauth-krb5.c79 krb5_ccache ccache = NULL; local
99 problem = krb5_cc_gen_new(authctxt->krb5_ctx, &krb5_mcc_ops, &ccache);
103 problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache,
111 ccache, password, 1, NULL);
123 problem = krb5_cc_copy_cache(authctxt->krb5_ctx, ccache,
125 krb5_cc_destroy(authctxt->krb5_ctx, ccache);
126 ccache = NULL;
193 if (ccache)
194 krb5_cc_destroy(authctxt->krb5_ctx, ccache);
233 ssh_krb5_cc_gen(krb5_context ctx, krb5_ccache *ccache) { argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/kuser/
H A Dkdeltkt.c72 krb5_ccache ccache; local
93 ret = krb5_cc_resolve(context, ccachestr, &ccache);
95 ret = krb5_cc_default(context, &ccache);
99 ret = krb5_cc_get_principal(context, ccache, &me);
127 ret = krb5_cc_retrieve_cred(context, ccache, retflags,
138 ret = krb5_cc_remove_cred(context, ccache, flags, &out_creds);
157 krb5_cc_close(context, ccache);
H A Dkinit.c366 krb5_ccache ccache,
645 ret = krb5_cc_new_unique(context, krb5_cc_get_type(context, ccache),
688 ret = krb5_cc_move(context, tempccache, ccache);
695 krb5_cc_switch(context, ccache);
709 krb5_cc_set_config(context, ccache, NULL, "realm-config", &data);
768 krb5_ccache ccache; member in struct:renew_ctx
783 ctx->ccache, server_str, ctx->ticket_life);
791 ctx->ccache, ctx->ticket_life, 0);
795 krb5_afslog(ctx->context, ctx->ccache, NULL, NULL);
798 expire = ticket_lifetime(ctx->context, ctx->ccache, ct
364 get_new_tickets(krb5_context context, krb5_principal principal, krb5_ccache ccache, krb5_deltat ticket_life, int interactive) argument
808 krb5_ccache ccache; local
[all...]
H A Dklist.c244 * Print all tickets in `ccache' on stdout, verbosily iff do_verbose.
249 krb5_ccache ccache,
268 ret = krb5_cc_get_full_name(context, ccache, &fullname);
276 ret = krb5_cc_get_friendly_name(context, ccache, &name);
286 krb5_cc_get_version(context, ccache));
288 krb5_cc_set_flags(context, ccache, KRB5_TC_NOTICKET);
291 ret = krb5_cc_get_kdc_offset(context, ccache, &sec);
315 ret = krb5_cc_start_seq_get (context, ccache, &cursor);
335 ccache,
349 ret = krb5_cc_end_seq_get (context, ccache,
248 print_tickets(krb5_context context, krb5_ccache ccache, krb5_principal principal, int do_verbose, int do_flags, int do_hidden, int do_json) argument
367 check_expiration(krb5_context context, krb5_ccache ccache, time_t *expiration) argument
462 display_v5_ccache(krb5_context context, krb5_ccache ccache, int do_test, int do_verbose, int do_flags, int do_hidden, int do_json) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/appl/test/
H A Duu_server.c45 krb5_ccache ccache; local
87 status = krb5_cc_default(context, &ccache);
90 status = krb5_cc_get_principal(context, ccache, &in_creds.client);
102 status = krb5_get_credentials(context, KRB5_GC_USER_USER, ccache,
107 status = krb5_cc_default(context, &ccache);
120 ccache,
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);
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/slapd-modules/kinit/
H A Dkinit.c32 krb5_ccache ccache; member in struct:kinit_data
62 rc = krb5_cc_get_principal(kid->ctx, kid->ccache, &princ);
69 "Principal in ccache does not match requested principal\n");
75 rc = krb5_cc_start_seq_get(kid->ctx, kid->ccache, &cursor);
82 while (!(rc = krb5_cc_next_cred(kid->ctx, kid->ccache, &cursor, &creds))) {
127 krb5_cc_end_seq_get(kid->ctx, kid->ccache, &cursor);
150 rc = krb5_get_renewed_creds(kid->ctx, &creds, kid->princ, kid->ccache, NULL);
158 krb5_cc_initialize(kid->ctx, kid->ccache, creds.client);
159 krb5_cc_store_cred(kid->ctx, kid->ccache, &creds);
210 rc = krb5_cc_default(kid->ctx, &kid->ccache );
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/kadm5/
H A Dinit_c.c340 krb5_ccache ccache,
359 if(ccache != NULL) {
360 id = ccache;
407 if(ccache != NULL)
412 if(id && (id != ccache))
478 ctx->ccache, &cc);
502 if(ctx->ccache == NULL)
528 if(ctx->ccache == NULL)
560 if(ctx->ccache == NULL)
582 krb5_ccache ccache,
334 _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
577 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
627 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
755 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
778 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...]
/macosx-10.10.1/Heimdal-398.1.2/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...]

Completed in 184 milliseconds

123456