Lines Matching refs:domains
7 SSSD tests: Common utilities for tests that exercise domains
27 /* Including private header makes sure we can initialize test domains. */
95 ret = confdb_get_string(cdb, tmp_ctx, "config/sssd", "domains",
116 /* add domain to the list of enabled domains */
130 ret = confdb_add_param(cdb, true, "config/sssd", "domains", val);
232 const char **domains,
255 /* create confdb objects for the domains */
256 for (i = 0; domains[i] != NULL; i++) {
258 domains[i], id_provider, params != NULL ? params[i] : NULL,
267 /* initialize domain list and sysdb of the domains */
268 for (i = 0; domains[i] != NULL; i++) {
269 ret = mock_domain(test_ctx, test_ctx->confdb, tests_path, domains[i],
302 const char *domains[] = {domain_name, NULL};
304 return create_multidom_test_ctx(mem_ctx, tests_path, confdb_path, domains,
310 const char **domains)
341 if (domains != NULL) {
342 for (i = 0; domains[i] != NULL; i++) {
343 if (strcmp(domains[i], LOCAL_SYSDB_FILE) == 0) {
345 ret = sysdb_get_db_file(tmp_ctx, "local", domains[i], tests_path,
354 ret = sysdb_get_db_file(tmp_ctx, "fake_nonlocal", domains[i], tests_path,
404 const char *domains[] = {domain, NULL};
406 test_multidom_suite_cleanup(tests_path, cdb_file, domains);