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

1234

/sssd-io/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-io/src/lib/certmap/
H A Dsss_certmap.h90 * @param[in] domains NULL-terminated string array with a list of domains
91 * the rule should be valid for, i.e. only this domains
99 const char *map_rule, const char **domains);
126 * @param[out] domains NULL-terminated array of strings with the domains the
137 char **filter, char ***domains);
144 * @param[in] domains string array of domains returned by
147 void sss_certmap_free_filter_and_domains(char *filter, char **domains);
[all...]
H A Dsss_certmap.c152 const char *map_rule, const char **domains)
212 if (domains != NULL && *domains != NULL) {
213 for (c = 0; domains[c] != NULL; c++);
214 rule->domains = talloc_zero_array(rule, char *, c + 1);
215 if (rule->domains == NULL) {
219 for (c = 0; domains[c] != NULL; c++) {
220 rule->domains[c] = talloc_strdup(rule->domains, domains[
150 sss_certmap_add_rule(struct sss_certmap_ctx *ctx, uint32_t priority, const char *match_rule, const char *map_rule, const char **domains) argument
803 char **domains = NULL; local
912 sss_certmap_free_filter_and_domains(char *filter, char **domains) argument
[all...]
/sssd-io/src/examples/
H A Dsssd.conf3 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-io/src/responder/common/cache_req/
H A Dcache_req_domain.h36 cache_req_domain_get_domain_by_name(struct cache_req_domain *domains,
45 * set it to all domains is when flattening those (thus, in this function).
50 struct sss_domain_info *domains,
H A Dcache_req_domain.c24 cache_req_domain_get_domain_by_name(struct cache_req_domain *domains, argument
30 DLIST_FOR_EACH(dom, domains) {
44 DEBUG(SSSDBG_OP_FAILURE, "Unknown domains [%s].\n", name);
112 * - use_fully_qualified_name value of the head of the domains;
114 * - the presence of a domains' resolution order list;
141 struct sss_domain_info *domains,
153 /* Firstly, in case a domains' resolution order is passed ... iterate over
154 * the list adding its domains to the flatten cache req domains' list */
159 for (dom = domains; do
140 cache_req_domain_new_list_from_string_list(TALLOC_CTX *mem_ctx, struct sss_domain_info *domains, char **resolution_order) argument
224 cache_req_domain_new_list_from_domain_resolution_order( TALLOC_CTX *mem_ctx, struct sss_domain_info *domains, const char *domain_resolution_order, struct cache_req_domain **_cr_domains) argument
[all...]
/sssd-io/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.c7 SSSD tests: Common utilities for tests that exercise domains
30 struct sss_domain_info *domains,
52 rctx->domains = domains;
54 if (domains != NULL) {
28 mock_rctx(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sss_domain_info *domains, void *pvt_ctx) argument
H A Dcommon_mock_resp.h7 SSSD tests: Common utilities for tests that exercise domains
34 struct sss_domain_info *domains,
H A Dtest_sysdb_certmap.c117 assert_non_null(m->domains);
118 if (r->domains == NULL) {
119 assert_null(m->domains[0]);
121 for (d = 0; r->domains[d]; d++) {
122 assert_non_null(m->domains[d]);
123 assert_true(string_in_list(m->domains[d], discard_const(r->domains),
135 const char *domains[] = { "dom1.test", "dom2.test", "dom3.test", NULL }; local
137 struct certmap_info map_b = { discard_const("map_b"), UINT_MAX, discard_const("abc"), NULL, domains };
171 assert_non_null(certmap[0]->domains);
[all...]
/sssd-io/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-io/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 != NULL ? params[i] : NULL,
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...]
/sssd-io/src/util/cert/
H A Dcert_common.c84 char **domains = NULL; local
113 &filter, &domains);
124 if (domains == NULL) {
131 for (c = 0; domains[c] != NULL; c++) {
132 if (strcasecmp(dom->name, domains[c]) == 0) {
140 if (domains[c] == NULL) {
156 sss_certmap_free_filter_and_domains(filter, domains);
/sssd-io/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;
/sssd-io/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-io/src/responder/common/iface/
H A Dresponder_domain.c39 for (dom = rctx->domains;
/sssd-io/src/responder/ssh/
H A Dssh_private.h65 ssh_update_known_hosts_file(struct sss_domain_info *domains,
/sssd-io/src/tools/sssctl/
H A Dsssctl_domains.c66 char **domains; local
95 error = sss_sifp_list_domains(sifp, &domains);
97 sssctl_sifp_error(sifp, error, "Unable to get domains list");
102 for (i = 0; domains[i] != NULL; i++) {
103 ret = domain_is_subdomain_check(sifp, domains[i], &is_subdom);
110 printf("Trusted domain: %s\n", domains[i]);
112 printf("Primary domain: %s\n", domains[i]);
119 for (i = 0; domains[i] != NULL; i++) {
120 puts(domains[i]);
/sssd-io/src/db/
H A Dsysdb_certmap.c133 if (certmap->domains != NULL) {
134 for (c = 0; certmap->domains[c] != NULL; c++);
156 for (c = 0; certmap->domains[c] != NULL; c++) {
158 certmap->domains[c]);
164 el->values[c].length = strlen(certmap->domains[c]);
397 maps[c]->domains = talloc_zero_array(maps[c], const char *,
399 if (maps[c]->domains == NULL) {
406 maps[c]->domains[d] = talloc_strndup(maps[c]->domains,
409 if (maps[c]->domains[
[all...]

Completed in 68 milliseconds

1234