/sssd-io/src/tests/cmocka/ |
H A D | test_kcm_json_marshalling.c | 154 struct kcm_ccache *cc; local 173 &cc); 177 cc, 196 assert_cc_equal(cc, cc2);
|
/sssd-io/src/providers/krb5/ |
H A D | krb5_ccache.c | 272 struct sss_krb5_ccache *cc = talloc_get_type(mem, struct sss_krb5_ccache); local 274 if (cc->ccache) { 275 krb5_cc_close(cc->context, cc->ccache); 277 krb5_free_context(cc->context); 278 restore_creds(cc->creds); 287 struct sss_krb5_ccache *cc; local 291 cc = talloc_zero(mem_ctx, struct sss_krb5_ccache); 292 if (!cc) { 295 talloc_set_destructor((TALLOC_CTX *)cc, sss_free_krb5_ccach 331 sss_destroy_ccache(struct sss_krb5_ccache *cc) argument 353 struct sss_krb5_ccache *cc = NULL; local 476 struct sss_krb5_ccache *cc = NULL; local 559 krb5_ccache cc = NULL; local [all...] |
/sssd-io/src/responder/kcm/ |
H A D | kcmsrv_ccache_mem.c | 37 struct kcm_ccache *cc; member in struct:ccache_mem_wrap 81 if (ccwrap->cc == NULL) { 83 DEBUG(SSSDBG_CRIT_FAILURE, "BUG: ccwrap contains NULL cc\n"); 87 if (ccwrap->cc->owner.uid == uid) { 88 if (uuid_compare(uuid, ccwrap->cc->uuid) == 0) { 109 if (ccwrap->cc == NULL) { 111 DEBUG(SSSDBG_CRIT_FAILURE, "BUG: ccwrap contains NULL cc\n"); 115 if (ccwrap->cc->owner.uid == uid) { 116 if (strcmp(ccwrap->cc->name, name) == 0) { 141 if (ccwrap->cc ! 395 struct kcm_ccache *cc; member in struct:ccdb_mem_getbyuuid_state 448 struct kcm_ccache *cc; member in struct:ccdb_mem_getbyname_state 606 ccdb_mem_create_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, struct kcm_ccache *cc) argument [all...] |
H A D | kcmsrv_ccache.c | 31 static int kcm_cc_destructor(struct kcm_ccache *cc) argument 33 if (cc == NULL) { 37 krb5_free_principal(NULL, cc->client); 48 struct kcm_ccache *cc = NULL; local 52 cc = talloc_zero(mem_ctx, struct kcm_ccache); 53 if (cc == NULL) { 63 cc->name = talloc_strdup(cc, name); 64 if (cc->name == NULL) { 69 uuid_generate(cc 95 kcm_cc_get_name(struct kcm_ccache *cc) argument 100 kcm_cc_get_uuid(struct kcm_ccache *cc, uuid_t _uuid) argument 109 kcm_cc_get_client_principal(struct kcm_ccache *cc) argument 114 kcm_cc_access(struct kcm_ccache *cc, struct cli_creds *client) argument 141 kcm_cc_get_offset(struct kcm_ccache *cc) argument 146 kcm_cc_store_cred_blob(struct kcm_ccache *cc, struct sss_iobuf *cred_blob) argument 171 kcm_cc_get_cred(struct kcm_ccache *cc) argument 206 kcm_cc_store_creds(struct kcm_ccache *cc, struct kcm_cred *crd) argument 597 struct kcm_ccache *cc; local 664 struct kcm_ccache *cc; member in struct:kcm_ccdb_getbyname_state 755 struct kcm_ccache *cc; member in struct:kcm_ccdb_getbyuuid_state 1008 kcm_ccdb_create_cc_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, struct kcm_ccache *cc) argument 1091 kcm_mod_cc(struct kcm_ccache *cc, struct kcm_mod_ctx *mod_ctx) argument [all...] |
H A D | kcmsrv_ccache_json.c | 417 static json_t *ccache_to_json(struct kcm_ccache *cc) argument 424 princ = princ_to_json(cc, cc->client); 431 creds = creds_to_json_array(cc->creds); 443 "kdc_offset", cc->kdc_offset, 459 struct kcm_ccache *cc, 466 jcc = ccache_to_json(cc); 483 *_sec_key = sec_key_create(mem_ctx, cc->name, cc->uuid); 495 struct kcm_ccache *cc, 458 ccache_to_sec_kv(TALLOC_CTX *mem_ctx, struct kcm_ccache *cc, const char **_sec_key, const char **_sec_value) argument 494 kcm_ccache_to_sec_input(TALLOC_CTX *mem_ctx, struct kcm_ccache *cc, struct cli_creds *client, const char **_url, struct sss_iobuf **_payload) argument 781 json_to_creds(struct kcm_ccache *cc, json_t *jcreds) argument 817 sec_json_value_to_ccache(struct kcm_ccache *cc, json_t *root) argument 879 struct kcm_ccache *cc = NULL; local [all...] |
H A D | kcmsrv_ops.c | 929 struct kcm_ccache *cc; local 936 ret = kcm_ccdb_getbyname_recv(subreq, state, &cc); 946 if (cc == NULL) { 954 princ = kcm_cc_get_client_principal(cc); 1022 struct kcm_ccache *cc; local 1030 ret = kcm_ccdb_getbyname_recv(subreq, state, &cc); 1040 if (cc == NULL) { 1047 for (crd = kcm_cc_get_cred(cc); 1123 struct kcm_ccache *cc; local 1129 ret = kcm_ccdb_getbyname_recv(subreq, state, &cc); 1361 struct kcm_ccache *cc; local 1751 struct kcm_ccache *cc; local [all...] |
H A D | kcmsrv_ccache_secrets.c | 319 struct kcm_ccache *cc; member in struct:sec_get_state 411 &state->cc); 431 *_cc = talloc_steal(mem_ctx, state->cc); 447 struct kcm_ccache *cc; member in struct:sec_get_ccache_state 549 ret = sec_get_recv(subreq, state, &state->cc); 570 *_cc = talloc_steal(mem_ctx, state->cc); 1166 struct kcm_ccache *cc; member in struct:ccdb_sec_getbyuuid_state 1218 ret = sec_get_ccache_recv(subreq, state, &state->cc); 1239 *_cc = talloc_steal(mem_ctx, state->cc); 1249 struct kcm_ccache *cc; member in struct:ccdb_sec_getbyname_state 1544 ccdb_sec_create_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct kcm_ccdb *db, struct cli_creds *client, struct kcm_ccache *cc) argument 1744 struct kcm_ccache *cc; local 1871 struct kcm_ccache *cc; local [all...] |
/sssd-io/src/tests/ |
H A D | krb5_child-test.c | 344 print_ccache(const char *cc) argument 359 kret = krb5_cc_resolve(kcontext, cc, &cache);
|