Searched refs:domains (Results 1 - 25 of 63) sorted by relevance

123

/sssd/src/config/testconfigs/
H A Dsssd-nonexisting-services-domains.conf6 domains = nonexistent, active
H A Dsssd-badversion.conf14 domains = LOCAL, IPA
H A Dsssd-invalid-badbool.conf14 domains = LOCAL, IPA
H A Dsssd-noversion.conf14 domains = LOCAL, IPA
H A Dsssd-valid.conf14 domains = LOCAL, IPA
/sssd/src/examples/
H A Dsssd.conf4 domains = shadowutils
H A Dsssd-example.conf4 # SSSD will not start if you do not configure any domains.
6 # then add the list of domains (in the order you want them to be
7 # queried) to the "domains" attribute below and uncomment it.
8 ; domains = LDAP
/sssd/src/tests/cmocka/
H A Dtest_ad_subdomains.c128 const char *domains[domain_count]; local
151 domains[0] = AD_DOMAIN;
152 domains[1] = DOMAIN_1;
153 assert_true(are_values_in_array(domains, domain_count,
166 const char *domains[domain_count]; local
189 domains[0] = AD_DOMAIN;
190 domains[1] = DOMAIN_1;
191 domains[2] = DOMAIN_2;
192 assert_true(are_values_in_array(domains, domain_count,
205 const char *domains[domain_coun local
242 const char *domains[domain_count]; local
[all...]
H A Dcommon_mock_resp.h7 SSSD tests: Common utilities for tests that exercise domains
34 struct sss_domain_info *domains,
H A Dcommon_mock_resp.c7 SSSD tests: Common utilities for tests that exercise domains
30 struct sss_domain_info *domains,
52 rctx->domains = domains;
28 mock_rctx(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sss_domain_info *domains, void *pvt_ctx) argument
/sssd/src/lib/sifp/
H A Dsss_sifp_common.c89 char **domains = NULL; local
105 /* calculate number of paths acquired and allocate memory for domains */
108 domains = _alloc_zero(ctx, char *, size + 1);
109 if (domains == NULL) {
127 domains[i] = sss_sifp_strdup(ctx, name);
128 if (domains[i] == NULL) {
136 domains[i] = NULL;
138 *_domains = domains;
147 sss_sifp_free_string_array(ctx, &domains);
/sssd/src/tests/
H A Dcommon_dom.c7 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,
267 /* initialize domain list and sysdb of the domains */
229 create_multidom_test_ctx(TALLOC_CTX *mem_ctx, const char *tests_path, const char *cdb_file, const char **domains, const char *id_provider, struct sss_test_conf_param *params) argument
302 const char *domains[] = {domain_name, NULL}; local
308 test_multidom_suite_cleanup(const char *tests_path, const char *cdb_file, const char **domains) argument
404 const char *domains[] = {domain, NULL}; local
[all...]
H A Dcommon.h93 const char **domains,
109 const char **domains);
/sssd/src/responder/ifp/
H A Difp_cache.h33 struct sss_domain_info *domains,
H A Difp_iface_nodes.c63 ret = ifp_cache_list_domains(tmp_ctx, ifp_ctx->rctx->domains,
121 domain = ctx->rctx->domains;
133 domain = ctx->rctx->domains;
H A Difp_cache.c153 struct sss_domain_info *domains,
171 domain = domains;
227 ret = ifp_cache_list_domains(sbus_req, ifp_ctx->rctx->domains, type,
259 domain = find_domain_by_name(ifp_ctx->rctx->domains, domainname, true);
152 ifp_cache_list_domains(TALLOC_CTX *mem_ctx, struct sss_domain_info *domains, enum ifp_cache_type type, const char ***_paths, int *_num_paths) argument
H A Difp_domains.c106 ret = sysdb_master_domain_update(ireq->ifp_ctx->rctx->domains);
115 for (dom = ireq->ifp_ctx->rctx->domains;
128 for (dom = ireq->ifp_ctx->rctx->domains;
216 ret = sysdb_master_domain_update(ireq->ifp_ctx->rctx->domains);
225 for (iter = ireq->ifp_ctx->rctx->domains;
258 struct sss_domain_info *domains = NULL; local
276 domains = ctx->rctx->domains;
277 for (iter = domains; iter != NULL;
/sssd/src/providers/
H A Dfail_over_srv.c205 const char **domains = NULL; local
261 domains = talloc_zero_array(state, const char *, 3);
262 if (domains == NULL) {
267 domains[0] = state->primary_domain;
268 domains[1] = state->backup_domain;
271 state->service, state->protocol, domains);
292 const char **domains = NULL; local
334 domains = talloc_zero_array(state, const char *, 2);
335 if (domains == NULL) {
340 domains[
600 const char **domains = NULL; local
[all...]
/sssd/src/tools/common/
H A Dsss_tools.c127 struct sss_domain_info *domains; local
131 ret = confdb_get_domains(confdb, &domains);
133 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to setup domains [%d]: %s\n",
138 ret = sysdb_init(mem_ctx, domains);
145 for (dom = domains; dom != NULL;
166 for (dom = domains; dom != NULL;
175 *_domains = domains;
283 /* Setup domains. */
284 ret = sss_tool_domains_init(tool_ctx, tool_ctx->confdb, &tool_ctx->domains);
286 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to setup domains [
[all...]
H A Dsss_tools.h34 struct sss_domain_info *domains; member in struct:sss_tool_ctx
/sssd/src/tools/sssctl/
H A Dsssctl_domains.c36 char **domains; local
63 error = sss_sifp_list_domains(sifp, &domains);
65 sssctl_sifp_error(sifp, error, "Unable to get domains list");
69 for (i = 0; domains[i] != NULL; i++) {
70 puts(domains[i]);
H A Dsssctl_cache.c338 struct sss_domain_info *domains,
362 dom = domain == NULL ? domains : domain;
417 struct sss_domain_info *domains,
453 ret = sssctl_find_object(tmp_ctx, domains, domain, basedn_fn,
472 struct sss_domain_info *domains,
493 ret = sssctl_fetch_object(tmp_ctx, info, domains, domain, basedn_fn,
608 ret = sssctl_print_object(info, tool_ctx->domains, opts.domain,
654 ret = sssctl_print_object(info, tool_ctx->domains, opts.domain,
685 ret = sssctl_print_object(info, tool_ctx->domains, opts.domain,
337 sssctl_find_object(TALLOC_CTX *mem_ctx, struct sss_domain_info *domains, struct sss_domain_info *domain, sssctl_basedn_fn basedn_fn, enum cache_object obj_type, const char *attr_name, const char *attr_value, const char **attrs, struct sysdb_attrs **_entry, struct sss_domain_info **_dom) argument
415 sssctl_fetch_object(TALLOC_CTX *mem_ctx, struct sssctl_object_info *info, struct sss_domain_info *domains, struct sss_domain_info *domain, sssctl_basedn_fn basedn_fn, enum cache_object obj_type, const char *attr_name, const char *attr_value, struct sysdb_attrs **_entry, struct sss_domain_info **_dom) argument
471 sssctl_print_object(struct sssctl_object_info *info, struct sss_domain_info *domains, struct sss_domain_info *domain, sssctl_basedn_fn basedn_fn, const char *noent_fmt, enum cache_object obj_type, const char *attr_name, const char *attr_value) argument
/sssd/src/responder/nss/
H A Dnsssrv_services.c39 struct sss_domain_info **domains; member in struct:getserv_ctx
61 * present and expired, add it to a list of domains eligible to
66 * been determined to be available, search all domains in order
100 for (dom = cctx->rctx->domains; dom; dom = get_next_domain(dom, 0)) {
104 /* Create an array of domains to check. To save resizes, we'll
107 state->domains = talloc_zero_array(state,
110 if (!state->domains) {
119 * lowercase in multiple domains.
142 * lowercase in multiple domains.
158 dom = cctx->rctx->domains;
875 parse_getservbyname(TALLOC_CTX *mem_ctx, uint8_t *body, size_t blen, struct sss_domain_info *domains, char *default_domain, char **domain_name, char **service_name, char **service_protocol) argument
[all...]
/sssd/src/sss_client/libwbclient/
H A Dwbc_util_sssd.c139 wbcErr wbcListTrusts(struct wbcDomainInfo **domains, size_t *num_domains) argument
/sssd/src/providers/ad/
H A Dad_srv.c127 const char **domains = NULL; local
137 domains = talloc_zero_array(state, const char *, 3);
138 if (domains == NULL) {
147 domains[0] = talloc_strdup(domains, discovery_domain);
148 if (domains[0] == NULL) {
156 domains[0] = talloc_asprintf(state, AD_SITE_DOMAIN_FMT,
158 if (domains[0] == NULL) {
163 domains[1] = talloc_strdup(domains, discovery_domai
[all...]

Completed in 109 milliseconds

123