Searched defs:sdom (Results 1 - 25 of 27) sorted by relevance

12

/sssd/src/providers/ldap/
H A Dldap_common.h112 struct sdap_domain *sdom,
125 struct sdap_domain *sdom,
216 struct sdap_domain *sdom; member in struct:ldap_enum_ctx
222 struct sdap_domain *sdom,
235 struct sdap_domain *sdom);
238 struct sdap_domain *sdom);
243 struct sdap_domain *sdom,
255 struct sdap_domain *sdom,
265 struct sdap_domain *sdom,
H A Dldap_id_enum.c34 struct sdap_domain *sdom,
46 ret = sysdb_has_enumerated(sdom->dom, &has_enumerated);
88 ectx = talloc(sdom, struct ldap_enum_ctx);
92 ectx->sdom = sdom;
95 ret = be_ptask_create(sdom, be_ctx,
104 ectx, "enumeration", &sdom->enum_task);
112 talloc_steal(sdom->enum_task, ectx);
151 state->dom = ectx->sdom->dom;
154 subreq = sdap_dom_enum_send(state, ev, state->id_ctx, ectx->sdom,
32 ldap_setup_enumeration(struct be_ctx *be_ctx, struct sdap_options *opts, struct sdap_domain *sdom, be_ptask_send_t send_fn, be_ptask_recv_t recv_fn, void *pvt) argument
[all...]
H A Dsdap_domain.c38 DLIST_FOR_EACH(sditer, opts->sdom) {
62 DLIST_FOR_EACH(sditer, opts->sdom) {
93 struct sdap_domain *sdom; local
96 sdom = talloc_zero(opts, struct sdap_domain);
97 if (sdom == NULL) {
100 sdom->dom = dom;
101 sdom->head = &opts->sdom;
104 ret = domain_to_basedn(sdom, sdom
132 struct sdap_domain *sdom, *sditer; local
191 struct sdap_domain *sdom; local
[all...]
H A Dldap_id_services.c36 struct sdap_domain *sdom; member in struct:sdap_services_get_state
66 struct sdap_domain *sdom,
85 state->sdom = sdom;
88 state->domain = sdom->dom;
89 state->sysdb = sdom->dom->sysdb;
202 state->sdom->service_search_bases,
63 services_get_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_id_ctx *id_ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, const char *name, const char *protocol, int filter_type, bool noexist_delete) argument
H A Dsdap_refresh.c32 struct sdap_domain *sdom; member in struct:sdap_refresh_state
71 state->sdom = sdap_domain_get(state->id_ctx->opts, domain);
72 if (state->sdom == NULL) {
151 state->sdom, state->id_ctx->conn, true);
H A Dldap_id_netgroup.c36 struct sdap_domain *sdom; member in struct:ldap_netgroup_get_state
63 struct sdap_domain *sdom,
78 state->sdom = sdom;
90 state->domain = sdom->dom;
91 state->sysdb = sdom->dom->sysdb;
165 state->sdom->netgroup_search_bases,
60 ldap_netgroup_get_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, const char *name, bool noexist_delete) argument
H A Dldap_id_cleanup.c38 struct sdap_domain *sdom; member in struct:ldap_id_cleanup_ctx
50 return ldap_id_cleanup(cleanup_ctx->ctx->opts, cleanup_ctx->sdom);
54 struct sdap_domain *sdom)
74 cleanup_ctx = talloc_zero(sdom, struct ldap_id_cleanup_ctx);
81 cleanup_ctx->sdom = sdom;
83 name = talloc_asprintf(cleanup_ctx, "Cleanup of %s", sdom->dom->name);
88 ret = be_ptask_create_sync(sdom, id_ctx->be, period, first_delay,
92 &sdom->cleanup_task);
95 "task for %s\n", sdom
53 ldap_setup_cleanup(struct sdap_id_ctx *id_ctx, struct sdap_domain *sdom) argument
117 ldap_id_cleanup(struct sdap_options *opts, struct sdap_domain *sdom) argument
[all...]
H A Dsdap_async_enum.c38 struct sdap_domain *sdom,
46 struct sdap_domain *sdom,
55 struct sdap_domain *sdom; member in struct:sdap_dom_enum_ex_state
84 struct sdap_domain *sdom,
99 state->sdom = sdom;
103 sdom->last_enum = tevent_timeval_current();
106 if ((sdom->last_purge.tv_sec + t) < sdom->last_enum.tv_sec) {
193 state->sdom
81 sdap_dom_enum_ex_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *user_conn, struct sdap_id_conn_ctx *group_conn, struct sdap_id_conn_ctx *svc_conn) argument
507 sdap_dom_enum_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn) argument
525 struct sdap_domain *sdom; member in struct:enum_users_state
534 enum_users_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_op *op, bool purge) argument
701 struct sdap_domain *sdom; member in struct:enum_groups_state
710 enum_groups_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_op *op, bool purge) argument
[all...]
H A Dldap_common.c43 return sdap_id_setup_tasks(ctx->be, ctx, ctx->opts->sdom,
51 struct sdap_domain *sdom,
59 if (sdom->dom->enumerate) {
61 sdom->dom->name);
62 ret = ldap_setup_enumeration(be_ctx, ctx->opts, sdom,
68 sdom->dom->name);
69 ret = ldap_setup_cleanup(ctx, sdom);
49 sdap_id_setup_tasks(struct be_ctx *be_ctx, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, be_ptask_send_t send_fn, be_ptask_recv_t recv_fn, void *pvt) argument
H A Dldap_id.c45 struct sdap_domain *sdom; member in struct:users_get_state
74 struct sdap_domain *sdom,
99 state->sdom = sdom;
111 state->domain = sdom->dom;
112 state->sysdb = sdom->dom->sysdb;
118 sdom->dom->name,
119 sdom->dom->domain_id);
371 state->sdom->user_search_bases,
442 state->sdom
71 users_get_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, const char *filter_value, int filter_type, const char *extra_value, int attrs_type, bool noexist_delete) argument
624 struct sdap_domain *sdom; member in struct:groups_get_state
649 groups_get_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, const char *filter_value, int filter_type, int attrs_type, bool noexist_delete, bool no_members) argument
1101 struct sdap_domain *sdom; member in struct:groups_by_user_state
1155 groups_by_user_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, const char *filter_value, int filter_type, const char *extra_value, bool noexist_delete) argument
1390 sdap_handle_acct_req_send(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, struct dp_id_data *ar, struct sdap_id_ctx *id_ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, bool noexist_delete) argument
1666 struct sdap_domain *sdom; member in struct:get_user_and_group_state
1687 get_user_and_group_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_id_ctx *id_ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, const char *filter_val, int filter_type, int attrs_type, bool noexist_delete) argument
[all...]
H A Dsdap_access.c1423 get_default_ppolicy_dns(TALLOC_CTX *mem_ctx, struct sdap_domain *sdom) argument
1429 while(sdom->search_bases[count] != NULL) {
1438 sdom->search_bases[i]->basedn);
1491 state->ppolicy_dns = get_default_ppolicy_dns(state, state->opts->sdom);
H A Dsdap_async_initgroups_ad.c88 state->search_bases = opts->sdom->group_search_bases;
735 struct sdap_domain *sdom; local
760 sdom = sdap_domain_get(opts, domain);
761 if (sdom == NULL || sdom->pvt == NULL) {
774 subdom_id_ctx = talloc_get_type(sdom->pvt, struct ad_id_ctx);
1067 struct sdap_domain *sdom; local
1093 sdom = sdap_domain_get(opts, domain);
1094 if (sdom == NULL || sdom
[all...]
H A Dsdap.c1119 struct sdap_domain *sdom,
1128 bases = &sdom->search_bases;
1131 bases = &sdom->user_search_bases;
1134 bases = &sdom->group_search_bases;
1137 bases = &sdom->netgroup_search_bases;
1140 bases = &sdom->sudo_search_bases;
1143 bases = &sdom->service_search_bases;
1146 bases = &sdom->autofs_search_bases;
1172 struct sdap_domain *sdom)
1177 if (!sdom
1118 sdap_set_search_base(struct sdap_options *opts, struct sdap_domain *sdom, enum sdap_basic_opt class, char *naming_context) argument
1170 sdap_set_config_options_with_rootdse(struct sysdb_attrs *rootdse, struct sdap_options *opts, struct sdap_domain *sdom) argument
[all...]
H A Dsdap_async_groups.c254 struct sdap_domain *sdom; local
284 sdom = sdap_domain_get_by_dn(opts, (char *)values[i].data);
285 if (sdom == NULL) {
291 member_sysdb = sdom->dom->sysdb;
292 member_dom = sdom->dom;
1786 struct sdap_domain *sdom; member in struct:sdap_get_groups_state
1818 struct sdap_domain *sdom,
1838 state->sdom = sdom;
1839 state->dom = sdom
1816 sdap_get_groups_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_domain *sdom, struct sdap_options *opts, struct sdap_handle *sh, const char **attrs, const char *filter, int timeout, enum sdap_entry_lookup_type lookup_type, bool no_members) argument
[all...]
H A Dsdap_async_initgroups.c423 state->search_bases = opts->sdom->group_search_bases;
1566 struct sdap_domain *sdom,
1584 state->sysdb = sdom->dom->sysdb;
1585 state->dom = sdom->dom;
1593 state->search_bases = sdom->group_search_bases;
1627 sdom->dom->name,
1628 sdom->dom->domain_id);
2657 struct sdap_domain *sdom; member in struct:sdap_get_initgr_state
2683 struct sdap_domain *sdom,
2707 state->dom = sdom
1562 sdap_initgr_rfc2307bis_send( TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_domain *sdom, struct sdap_handle *sh, const char *name, const char *orig_dn) argument
2681 sdap_get_initgr_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_domain *sdom, struct sdap_handle *sh, struct sdap_id_ctx *id_ctx, struct sdap_id_conn_ctx *conn, const char *filter_value, int filter_type, const char *extra_value, const char **grp_attrs) argument
[all...]
/sssd/src/tests/cmocka/
H A Dtest_search_bases.c111 struct sdap_domain *sdom; local
121 sdom = talloc_zero(tmp_ctx, struct sdap_domain);
122 assert_non_null(sdom);
126 sdom->search_bases = search_bases;
127 sdom->next = sdom2;
128 sdom->prev = NULL;
131 sdom2->prev = sdom;
135 opts->sdom = sdom;
143 assert_true(res_sdom == sdom);
[all...]
H A Dtest_ldap_id_cleanup.c184 struct sdap_domain sdom; local
249 sdom.dom = test_ctx->domain;
252 ret = ldap_id_cleanup(test_ctx->opts, &sdom);
277 ret = ldap_id_cleanup(test_ctx->opts, &sdom);
H A Dtest_ad_common.c586 struct sdap_domain *sdom; local
618 ret = sdap_domain_add(ad_ctx->sdap_id_ctx->opts, test_ctx->dom, &sdom);
620 sdom->pvt = ad_ctx;
629 ret = sdap_domain_add(ad_ctx->sdap_id_ctx->opts, test_ctx->subdom, &sdom);
631 sdom->pvt = subdom_ad_ctx;
H A Dtest_sdap.c984 struct sdap_domain *sdom; local
986 ret = sdap_domain_add(opts, dom, &sdom);
989 sdom->search_bases = talloc_array(sdom, struct sdap_search_base *, 2);
990 assert_non_null(sdom->search_bases);
991 sdom->search_bases[1] = NULL;
993 ret = sdap_create_search_base(sdom, sdom->basedn,
996 &sdom->search_bases[0]);
999 return sdom;
[all...]
/sssd/src/providers/ad/
H A Dad_pac.c452 struct sdap_domain *sdom,
473 state->user_dom = sdom->dom;
495 sdom->dom->name,
496 sdom->dom->domain_id);
498 && sdom->dom->ignore_group_members == false) {
517 sdom->dom,
532 ret = sdap_ad_tokengroups_get_posix_members(state, sdom->dom,
547 id_ctx->opts, sdom->dom,
448 ad_handle_pac_initgr_send(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, struct dp_id_data *ar, struct sdap_id_ctx *id_ctx, struct sdap_domain *sdom, struct sdap_id_conn_ctx *conn, bool noexist_delete, struct ldb_message *msg) argument
H A Dad_common.c1112 &id_opts->sdom->search_bases);
1118 &id_opts->sdom->user_search_bases);
1124 &id_opts->sdom->group_search_bases);
1130 &id_opts->sdom->netgroup_search_bases);
1136 &id_opts->sdom->service_search_bases);
1267 struct sdap_domain *sdom; local
1270 sdom = sdap_domain_get(ad_ctx->sdap_id_ctx->opts, dom);
1271 if (sdom == NULL || sdom->pvt == NULL) {
1276 subdom_id_ctx = talloc_get_type(sdom
[all...]
H A Dad_id.c57 struct sdap_domain *sdom; member in struct:ad_handle_acct_info_state
74 struct sdap_domain *sdom,
88 state->sdom = sdom;
93 if (sss_domain_get_state(sdom->dom) == DOM_INACTIVE) {
137 ret = check_if_pac_is_available(state, state->sdom->dom,
145 state->sdom,
162 state->sdom,
242 if (IS_SUBDOMAIN(state->sdom->dom)) {
382 struct sdap_domain *sdom; local
70 ad_handle_acct_info_send(TALLOC_CTX *mem_ctx, struct dp_id_data *ar, struct sdap_id_ctx *ctx, struct ad_options *ad_options, struct sdap_domain *sdom, struct sdap_id_conn_ctx **conn) argument
504 struct sdap_domain *sdom; member in struct:ad_enumeration_state
[all...]
H A Dad_subdomains.c156 struct sdap_domain *sdom; local
225 ad_id_ctx->sdap_id_ctx->opts->sdom,
233 sdom = sdap_domain_get(ad_id_ctx->sdap_id_ctx->opts, subdom);
234 if (sdom == NULL) {
255 struct sdap_domain *sdom; member in struct:ad_subdomains_ctx
369 struct sdap_domain *sdom; local
427 sdom = sdap_domain_get(opts, dom);
428 if (sdom == NULL) {
436 be_ptask_destroy(&sdom->enum_task);
437 be_ptask_destroy(&sdom
909 struct sdap_domain *sdom; local
[all...]
/sssd/src/providers/ipa/
H A Dipa_subdomains_id.c670 struct sdap_domain *sdom; local
724 sdom = sdap_domain_get(sdap_id_ctx->opts, state->obj_dom);
725 if (sdom == NULL) {
731 ad_id_ctx->ad_options, sdom, clist);
H A Dipa_subdomains_server.c210 struct sdap_domain *sdom; local
303 ad_id_ctx->sdap_id_ctx->opts->sdom,
311 sdom = sdap_domain_get(ad_id_ctx->sdap_id_ctx->opts, subdom);
312 if (sdom == NULL) {
322 sdom,
331 sdom->pvt = ad_id_ctx;
945 struct sdap_domain *sdom; local
962 sdom = sdap_domain_get(iter->ad_id_ctx->sdap_id_ctx->opts, subdom);
963 if (sdom == NULL) return;
964 be_ptask_destroy(&sdom
[all...]

Completed in 1849 milliseconds

12