/sssd-io/src/tests/cmocka/ |
H A D | common_mock_be.c | 33 be_ctx->cdb = tctx->confdb;
|
H A D | test_ldap_id_cleanup.c | 44 struct confdb_ctx *confdb; member in struct:sysdb_test_ctx 78 ret = confdb_init(test_ctx, &test_ctx->confdb, conf_db); 82 ret = confdb_add_param(test_ctx->confdb, true, 87 ret = confdb_add_param(test_ctx->confdb, true, 92 ret = confdb_add_param(test_ctx->confdb, true, 97 ret = confdb_add_param(test_ctx->confdb, true, 101 ret = sssd_domain_init(test_ctx, test_ctx->confdb, "local",
|
H A D | test_sysdb_subdomains.c | 106 ret = sysdb_update_subdomains(test_ctx->tctx->dom, test_ctx->tctx->confdb); 118 ret = sysdb_update_subdomains(test_ctx->tctx->dom, test_ctx->tctx->confdb); 136 ret = sysdb_update_subdomains(test_ctx->tctx->dom, test_ctx->tctx->confdb); 148 ret = sysdb_update_subdomains(test_ctx->tctx->dom, test_ctx->tctx->confdb); 238 ret = sysdb_update_subdomains(test_ctx->tctx->dom, test_ctx->tctx->confdb); 242 ret = sysdb_update_subdomains(test_ctx->tctx->dom->next, test_ctx->tctx->confdb); 318 ret = sysdb_update_subdomains(test_ctx->tctx->dom, test_ctx->tctx->confdb); 322 ret = sysdb_update_subdomains(test_ctx->tctx->dom->next, test_ctx->tctx->confdb); 398 ret = sysdb_update_subdomains(test_ctx->tctx->dom, test_ctx->tctx->confdb); 406 test_ctx->tctx->confdb); [all...] |
H A D | test_negcache.c | 620 ret = sss_names_init(ts, tc->confdb, TEST_DOM_NAME, &dom->names); 623 ret = sss_ncache_prepopulate(ncache, tc->confdb, ts->rctx); 701 ret = sss_names_init(ts, tc->confdb, TEST_DOM_NAME, &dom->names); 704 ret = sss_ncache_prepopulate(ncache, tc->confdb, ts->rctx); 762 ret = confdb_add_param(tc->confdb, true, "config/nss", 766 ret = confdb_add_param(tc->confdb, true, "config/nss", 774 ts->rctx->cdb = tc->confdb; 776 ret = sss_names_init(ts, tc->confdb, TEST_DOM_NAME, &dom->names);
|
H A D | test_sysdb_views.c | 53 struct confdb_ctx *confdb; member in struct:sysdb_test_ctx 86 ret = confdb_init(test_ctx, &test_ctx->confdb, conf_db); 90 ret = confdb_add_param(test_ctx->confdb, true, 95 ret = confdb_add_param(test_ctx->confdb, true, 100 ret = confdb_add_param(test_ctx->confdb, true, 105 ret = confdb_add_param(test_ctx->confdb, true, 109 ret = sssd_domain_init(test_ctx, test_ctx->confdb, "local",
|
/sssd-io/src/tests/ |
H A D | auth-tests.c | 38 #include "confdb/confdb.h" 47 struct confdb_ctx *confdb; member in struct:sysdb_test_ctx 94 ret = confdb_init(test_ctx, &test_ctx->confdb, conf_db); 96 fail("Could not initialize connection to the confdb"); 102 ret = confdb_add_param(test_ctx->confdb, true, 111 ret = confdb_add_param(test_ctx->confdb, true, 120 ret = confdb_add_param(test_ctx->confdb, true, 129 ret = confdb_add_param(test_ctx->confdb, true, 137 ret = sssd_domain_init(test_ctx, test_ctx->confdb, "loca [all...] |
H A D | sysdb_ssh-tests.c | 31 #include "confdb/confdb.h" 42 struct confdb_ctx *confdb; member in struct:sysdb_test_ctx 89 ret = confdb_init(test_ctx, &test_ctx->confdb, conf_db); 91 fail("Could not initialize connection to the confdb"); 97 ret = confdb_add_param(test_ctx->confdb, true, 106 ret = confdb_add_param(test_ctx->confdb, true, 115 ret = confdb_add_param(test_ctx->confdb, true, 124 ret = confdb_add_param(test_ctx->confdb, true, 132 ret = sssd_domain_init(test_ctx, test_ctx->confdb, "loca [all...] |
H A D | common_dom.c | 55 /* connect to the confdb */ 248 ret = mock_confdb(test_ctx, tests_path, cdb_file, &test_ctx->confdb); 250 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to initialize confdb [%d]: %s\n", 255 /* create confdb objects for the domains */ 257 ret = mock_confdb_domain(test_ctx, test_ctx->confdb, tests_path, 261 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to initialize confdb domain " 269 ret = mock_domain(test_ctx, test_ctx->confdb, tests_path, domains[i],
|
H A D | common.h | 69 struct confdb_ctx *confdb; member in struct:sss_test_ctx
|
/sssd-io/src/tools/ |
H A D | sss_sync_ops.h | 66 struct confdb_ctx *confdb, 76 struct confdb_ctx *confdb,
|
H A D | tools_util.h | 47 struct confdb_ctx *confdb; member in struct:tools_ctx
|
H A D | sss_sync_ops.c | 421 struct confdb_ctx *confdb, 436 ret = confdb_get_bool(confdb, 448 ret = confdb_get_string(confdb, mem_ctx, 465 struct confdb_ctx *confdb, 494 ret = confdb_get_string(confdb, mem_ctx, 510 ret = confdb_get_string(confdb, mem_ctx, 527 ret = confdb_get_bool(confdb, 540 ret = confdb_get_int(confdb, 549 ret = confdb_get_string(confdb, mem_ctx, 559 ret = confdb_get_string(confdb, mem_ct 420 userdel_defaults(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, struct ops_ctx *data, int remove_home) argument 464 useradd_defaults(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, struct ops_ctx *data, const char *gecos, const char *homedir, const char *shell, int create_home, const char *skeldir) argument [all...] |
H A D | tools_util.c | 34 #include "confdb/confdb.h" 49 ret = confdb_init(ctx, &ctx->confdb, confdb_path); 52 "Could not initialize connection to the confdb\n"); 56 ret = sssd_domain_init(ctx, ctx->confdb, "local", DB_PATH, &ctx->local); 299 ret = sss_names_init(tctx, tctx->confdb, tctx->local->name, &tctx->snctx); 530 ret = confdb_get_string(tctx->confdb, tctx,
|
H A D | sss_cache.c | 93 struct confdb_ctx *confdb; member in struct:cache_tool_ctx 161 ret = sysdb_update_subdomains(dinfo, tctx->confdb); 612 ret = confdb_init(ctx, &ctx->confdb, confdb_path); 616 "Could not initialize connection to the confdb\n"); 621 ret = sssd_domain_init(ctx, ctx->confdb, 631 ret = confdb_get_domains(ctx->confdb, &ctx->domains); 647 ret = sss_names_init(ctx, ctx->confdb, dinfo->name, &dinfo->names);
|
H A D | sss_seed.c | 20 #include "confdb/confdb.h" 49 struct confdb_ctx *confdb; member in struct:seed_ctx 609 struct confdb_ctx *confdb = NULL; local 619 /* setup confdb */ 626 ret = confdb_init(tmp_ctx, &confdb, confdb_path); 629 "Could not initialize connection to the confdb\n"); 630 ERROR("Could not initialize connection to the confdb\n"); 634 ret = sssd_domain_init(tmp_ctx, confdb, domain_name, DB_PATH, &domain); 646 *_confdb = talloc_steal(mem_ctx, confdb); [all...] |
/sssd-io/src/tools/common/ |
H A D | sss_tools.c | 28 #include "confdb/confdb.h" 29 #include "confdb/confdb_setup.h" 90 struct confdb_ctx *confdb; local 101 &confdb); 110 *_confdb = confdb; 117 struct confdb_ctx *confdb, 124 ret = confdb_expand_app_domains(confdb); 132 ret = confdb_get_domains(confdb, &domains); 158 ret = sysdb_update_subdomains(dom, confdb); 116 sss_tool_domains_init(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, struct sss_domain_info **_domains) argument [all...] |
H A D | sss_tools.h | 27 #include "confdb/confdb.h" 30 struct confdb_ctx *confdb; member in struct:sss_tool_ctx
|
/sssd-io/src/tools/sssctl/ |
H A D | sssctl_logs.c | 40 #include "confdb/confdb.h" 53 struct confdb_ctx *confdb; member in struct:debuglevel_tool_ctx 84 /* write to confdb */ 86 ret = confdb_add_param(tool_ctx->confdb, 1, *section, 119 "Could not allocate memory for confdb path\n"); 126 "Could not initialize connection to the confdb\n"); 133 errno_t get_confdb_sections(TALLOC_CTX *ctx, struct confdb_ctx *confdb, argument 162 ret = confdb_get_domains(confdb, &domain_list); 354 ret = connect_to_confdb(ctx, &ctx->confdb); [all...] |
H A D | sssctl_data.c | 277 ret = confdb_get_domains(tool_ctx->confdb, &tool_ctx->domains); 283 db_up_ctx.cdb = tool_ctx->confdb;
|
/sssd-io/src/util/ |
H A D | server.c | 34 #include "confdb/confdb.h" 367 struct confdb_ctx *confdb; member in struct:logrotate_ctx 384 ret = server_common_rotate_logs(lctx->confdb, lctx->confdb_path); 391 errno_t server_common_rotate_logs(struct confdb_ctx *confdb, argument 404 /* Get new debug level from the confdb */ 405 ret = confdb_get_int(confdb, conf_path, 410 DEBUG(SSSDBG_FATAL_FAILURE, "Error reading from confdb (%d) [%s]\n", 581 DEBUG(SSSDBG_FATAL_FAILURE, "The confdb initialization failed\n"); 592 DEBUG(SSSDBG_FATAL_FAILURE, "Error reading from confdb ( [all...] |
/sssd-io/src/responder/ifp/ |
H A D | ifp_components.c | 28 #include "confdb/confdb.h" 57 static bool backend_exists(struct confdb_ctx *confdb, const char *name) argument 63 ret = confdb_list_all_domain_names(NULL, confdb, &names); 78 struct confdb_ctx *confdb, 87 if (confdb == NULL || path == NULL) { 129 if (!backend_exists(confdb, name)) { 193 struct confdb_ctx *confdb, 209 ret = confdb_list_all_domain_names(tmp_ctx, confdb, &names); 77 check_and_get_component_from_path(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, const char *path, enum component_type *_type, char **_name) argument 192 list_backends(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, const char ***_list, int *_num) argument
|
/sssd-io/src/python/ |
H A D | pysss.c | 83 struct confdb_ctx *confdb; member in struct:__anon21 121 tctx->confdb = self->confdb; 222 self->confdb, 352 tctx->confdb, 875 ret = confdb_init(self->mem_ctx, &self->confdb, confdb_path); 878 "Could not initialize connection to the confdb\n"); 882 ret = sssd_domain_init(self->mem_ctx, self->confdb, "local",
|
/sssd-io/src/db/ |
H A D | sysdb_private.h | 206 struct confdb_ctx *confdb);
|
H A D | sysdb_subdomains.c | 28 check_subdom_config_file(struct confdb_ctx *confdb, 42 struct confdb_ctx *confdb) 177 if (confdb != NULL) { 178 /* If confdb was provided, also check for sssd.conf */ 179 ret = check_subdom_config_file(confdb, dom); 196 check_subdom_config_file(struct confdb_ctx *confdb, argument 215 ret = confdb_get_bool(confdb, sd_conf_path, CONFDB_DOMAIN_FQ, 300 struct confdb_ctx *confdb) 519 upn_suffixes, trust_direction, confdb); 31 new_subdomain(TALLOC_CTX *mem_ctx, struct sss_domain_info *parent, const char *name, const char *realm, const char *flat_name, const char *id, bool mpg, bool enumerate, const char *forest, const char **upn_suffixes, uint32_t trust_direction, struct confdb_ctx *confdb) argument 299 sysdb_update_subdomains(struct sss_domain_info *domain, struct confdb_ctx *confdb) argument
|
/sssd-io/src/responder/common/ |
H A D | responder_get_domains.c | 130 struct confdb_ctx *confdb); 311 process_subdomains(struct sss_domain_info *domain, struct confdb_ctx *confdb) argument 329 ret = sysdb_update_subdomains(domain, confdb);
|