/sssd/src/tests/cmocka/ |
H A D | test_copy_ccache.c | 7 SSSD tests: Tests ccache utilities 33 #define CCACHE_PATH TEST_DIR "/ccache_test.ccache" 46 krb5_ccache ccache; local 118 &ccache); 121 kerr = krb5_cc_initialize(test_ctx->kctx, ccache, test_creds.client); 124 kerr = krb5_cc_store_cred(test_ctx->kctx, ccache, &test_creds); 127 kerr = krb5_cc_close(test_ctx->kctx, ccache); 161 krb5_ccache ccache; local 175 kerr = krb5_cc_resolve(test_ctx->kctx, mem_ccache_name, &ccache); 180 kerr = krb5_cc_get_principal(test_ctx->kctx, ccache, [all...] |
/sssd/src/providers/ldap/ |
H A D | sdap_child_helpers.c | 224 char **ccache, time_t *expire_time_out) 239 /* ccache name size */ 259 *ccache = ccn; 221 parse_child_response(TALLOC_CTX *mem_ctx, uint8_t *buf, ssize_t size, int *result, krb5_error_code *kerr, char **ccache, time_t *expire_time_out) argument
|
H A D | ldap_child.c | 4 LDAP Backend Module -- prime ccache with TGT in a child process 288 krb5_ccache ccache = NULL; local 468 krberr = krb5_cc_resolve(context, ccname_dummy, &ccache); 476 krberr = krb5_cc_initialize(context, ccache, my_creds.client); 478 DEBUG(SSSDBG_OP_FAILURE, "Failed to init ccache: %s\n", 483 krberr = krb5_cc_store_cred(context, ccache, &my_creds);
|
/sssd/src/providers/krb5/ |
H A D | krb5_ccache.c | 4 Kerberos 5 Backend Module -- ccache related utilities 267 krb5_ccache ccache; member in struct:sss_krb5_ccache 274 if (cc->ccache) { 275 krb5_cc_close(cc->context, cc->ccache); 285 struct sss_krb5_ccache **ccache) 308 kerr = krb5_cc_resolve(cc->context, ccname, &cc->ccache); 309 if (kerr == KRB5_FCC_NOFILE || cc->ccache == NULL) { 310 DEBUG(SSSDBG_TRACE_FUNC, "ccache %s is missing or empty\n", ccname); 326 *ccache = cc; 336 kerr = krb5_cc_destroy(cc->context, cc->ccache); 282 sss_open_ccache_as_user(TALLOC_CTX *mem_ctx, const char *ccname, uid_t uid, gid_t gid, struct sss_krb5_ccache **ccache) argument 686 krb5_ccache ccache; local [all...] |
H A D | krb5_child.c | 748 * of storing FILE type ccache in /tmp and associated security issues */ 762 * privileges already dropped when handling user ccache, or the ccache 819 DEBUG(SSSDBG_TRACE_ALL, "Initializing ccache of type [%s]\n", type); 1319 * directly with file ccache (DIR::/...), but cache collection 1335 /* Successfull authentication! Check if ccache contains the 1341 "No ccache for %s in %s?\n", kr->upn, kr->ccname); 1349 "Failed to remove old ccache file [%s], " 1688 /* If the password is expired we can safely remove the ccache from the 1690 * to create a new random ccache i 1745 krb5_ccache ccache = NULL; local 2014 krb5_ccache ccache = NULL; local [all...] |
/sssd/src/providers/ipa/ |
H A D | ipa_subdomains_server.c | 347 static void ipa_getkeytab_exec(const char *ccache, 360 const char *ccache, 385 "Retrieving keytab for %s from %s into %s using ccache %s\n", 386 principal, server, keytab, ccache); 390 ipa_getkeytab_exec(ccache, server, principal, keytab); 430 static void ipa_getkeytab_exec(const char *ccache, argument 450 gkt_env[0] = talloc_asprintf(NULL, "KRB5CCNAME=%s", ccache); 586 const char *ccache; member in struct:ipa_server_trusted_dom_setup_state 624 state->ccache = talloc_asprintf(state, "%s/ccache_%s", 626 if (state->ccache 358 ipa_getkeytab_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, const char *ccache, const char *server, const char *principal, const char *keytab) argument [all...] |
/sssd/src/util/ |
H A D | sss_krb5.c | 866 krb5_ccache ccache, 889 kerr = krb5_cc_retrieve_cred(ctx, ccache, 0, &mcred, &cred); 865 sss_extract_pac(krb5_context ctx, krb5_ccache ccache, krb5_principal server_principal, krb5_principal client_principal, krb5_keytab keytab, krb5_authdata ***_pac_authdata) argument
|