/freebsd-13-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | acquire_cred.c | 120 krb5_ccache ccache; local 125 ccache = NULL; 145 &ccache); 152 if (ccache == NULL) { 153 kret = krb5_cc_default(context, &ccache); 157 kret = krb5_cc_get_principal(context, ccache, &def_princ); 160 krb5_cc_close(context, ccache); 172 krb5_cc_close(context, ccache); 173 ccache = NULL; 211 NULL, &ccache); [all...] |
H A D | gsskrb5_locl.h | 82 krb5_ccache ccache; member in struct:gsskrb5_ctx 101 struct krb5_ccache_data *ccache; member in struct:__anon6729
|
H A D | copy_ccache.c | 47 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 D | init_sec_context.c | 124 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 D | accept_sec_context.c | 159 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 D | creds.c | 62 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-13-stable/crypto/heimdal/appl/test/ |
H A D | uu_server.c | 45 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 D | uu_client.c | 46 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);
|
/freebsd-13-stable/crypto/heimdal/lib/krb5/ |
H A D | deprecated.c | 228 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, [all...] |
H A D | convert_creds.c | 43 * 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 D | get_cred.c | 142 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, 857 ret = get_cred_kdc_address (context, ccache, flags, NULL, 887 krb5_ccache ccache, 901 ret = get_cred_kdc_capath_worker(context, flags, ccache, in_creds, try_realm, 910 ret = get_cred_kdc_capath_worker(context, flags, ccache, in_creds, 922 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 885 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 920 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 1082 _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 1122 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 1208 krb5_get_credentials(krb5_context context, krb5_flags options, krb5_ccache ccache, krb5_creds *in_creds, krb5_creds **out_creds) argument 1321 krb5_get_creds(krb5_context context, krb5_get_creds_opt opt, krb5_ccache ccache, krb5_const_principal inprinc, krb5_creds **out_creds) argument 1449 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-13-stable/crypto/heimdal/lib/kadm5/ |
H A D | init_c.c | 322 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 D | private.h | 111 krb5_ccache ccache; member in struct:kadm5_client_context 122 krb5_ccache ccache; member in struct:kadm5_ad_context
|
H A D | init_s.c | 201 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-13-stable/crypto/heimdal/kuser/ |
H A D | kinit.c | 350 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 D | klist.c | 223 * 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 D | kimpersonate.c | 151 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-13-stable/crypto/heimdal/appl/su/ |
H A D | su.c | 143 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-13-stable/share/mk/ |
H A D | bsd.compiler.mk | 55 # command = /usr/local/bin/ccache cc ... 56 # wrapper = /usr/local/libexec/ccache/cc ... 58 # Handle ccache after CC is determined, but not if CC/CXX are already 62 (${CC:M*ccache/world/*} == "" || ${CXX:M*ccache/world/*} == "") 63 # CC is always prepended with the ccache wrapper rather than modifying 64 # PATH since it is more clear that ccache is used and avoids wasting time 67 CCACHE_WRAPPER_PATH?= ${LOCALBASE}/libexec/ccache 68 CCACHE_BIN?= ${LOCALBASE}/bin/ccache 98 # Remove ccache fro [all...] |
/freebsd-13-stable/crypto/heimdal/appl/kf/ |
H A D | kfd.c | 135 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 D | kf.c | 49 { "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-13-stable/lib/libpam/modules/pam_krb5/ |
H A D | pam_krb5.c | 88 #define PAM_OPT_CCACHE "ccache" 114 krb5_ccache ccache; local 266 krbret = krb5_cc_new_unique(pam_context, krb5_cc_type_memory, NULL, &ccache); 274 krbret = krb5_cc_initialize(pam_context, ccache, princ); 282 krbret = krb5_cc_store_cred(pam_context, ccache, &creds); 287 krb5_cc_destroy(pam_context, ccache); 299 krbret = verify_krb_v5_tgt(pam_context, ccache, srvdup, 304 krb5_cc_destroy(pam_context, ccache); 311 retval = pam_get_data(pamh, "ccache", &ccache_data); 313 krb5_cc_destroy(pam_context, ccache); 614 krb5_ccache ccache; local 840 verify_krb_v5_tgt(krb5_context context, krb5_ccache ccache, char *pam_service, int debug) argument 965 krb5_ccache ccache; local [all...] |
/freebsd-13-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | kerberos5.c | 198 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-13-stable/contrib/telnet/libtelnet/ |
H A D | kerberos5.c | 176 krb5_ccache ccache; local 188 ret = krb5_cc_default(context, &ccache); 191 print_krb5_error(context, ret, "Kerberos V5: could not get default ccache: %s\r\n"); 263 &cksum_data, ccache, &auth); 502 krb5_ccache ccache; local 513 ret = krb5_cc_resolve (context, ccname, &ccache); 516 print_krb5_error(context, ret, "Kerberos V5: could not get ccache: %s\r\n"); 521 ccache, 525 print_krb5_error(context, ret, "Kerberos V5: could not init ccache: %s\r\n"); 534 ccache, 744 krb5_ccache ccache; local [all...] |
/freebsd-13-stable/crypto/heimdal/lib/gssapi/ |
H A D | test_acquire_cred.c | 182 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);
|