/sssd-io/src/providers/ldap/ |
H A D | sdap_domain.c | 38 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 196 struct sdap_domain *sdom; local [all...] |
H A D | sdap_async_enum.h | 33 struct sdap_domain *sdom, 44 struct sdap_domain *sdom,
|
H A D | ldap_id_enum.c | 34 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 D | ldap_id_cleanup.c | 38 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 D | sdap_async_enum.c | 38 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 506 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 524 struct sdap_domain *sdom; member in struct:enum_users_state 533 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 699 struct sdap_domain *sdom; member in struct:enum_groups_state 708 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 D | ldap_id_netgroup.c | 36 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 D | ldap_id_services.c | 36 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 D | ldap_common.h | 112 struct sdap_domain *sdom, 125 struct sdap_domain *sdom, 217 struct sdap_domain *sdom; member in struct:ldap_enum_ctx 223 struct sdap_domain *sdom, 236 struct sdap_domain *sdom); 239 struct sdap_domain *sdom); 244 struct sdap_domain *sdom, 255 struct sdap_domain *sdom, 265 struct sdap_domain *sdom,
|
H A D | ldap_id.c | 45 struct sdap_domain *sdom; member in struct:users_get_state 76 struct sdap_domain *sdom, 100 state->sdom = sdom; 113 state->domain = sdom->dom; 114 state->sysdb = sdom->dom->sysdb; 124 sdom->dom->name, 125 sdom->dom->domain_id); 490 state->sdom->user_search_bases, 672 struct sdap_domain *sdom; member in struct:groups_get_state 73 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, bool noexist_delete) argument 700 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, bool noexist_delete, bool no_members) argument 1227 struct sdap_domain *sdom; member in struct:groups_by_user_state 1282 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 1520 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 1785 struct sdap_domain *sdom; member in struct:get_user_and_group_state 1805 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, bool noexist_delete) argument [all...] |
H A D | sdap.c | 1119 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->host_search_bases; 1143 bases = &sdom->sudo_search_bases; 1146 bases = &sdom->service_search_bases; 1149 bases = &sdom->autofs_search_bases; 1175 struct sdap_domain *sdom) 1118 sdap_set_search_base(struct sdap_options *opts, struct sdap_domain *sdom, enum sdap_basic_opt class, char *naming_context) argument 1173 sdap_set_config_options_with_rootdse(struct sysdb_attrs *rootdse, struct sdap_options *opts, struct sdap_domain *sdom) argument [all...] |
H A D | sdap_refresh.c | 32 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) { 150 state->sdom, state->id_ctx->conn, true);
|
H A D | ldap_options.c | 102 &opts->sdom->search_bases); 108 &opts->sdom->user_search_bases); 114 &opts->sdom->group_search_bases); 120 &opts->sdom->netgroup_search_bases); 126 &opts->sdom->host_search_bases); 132 &opts->sdom->service_search_bases); 407 &opts->sdom->sudo_search_bases); 552 &opts->sdom->autofs_search_bases);
|
H A D | ldap_common.c | 45 return sdap_id_setup_tasks(ctx->be, ctx, ctx->opts->sdom, 53 struct sdap_domain *sdom, 61 if (sdom->dom->enumerate) { 63 sdom->dom->name); 64 ret = ldap_setup_enumeration(be_ctx, ctx->opts, sdom, 70 sdom->dom->name); 71 ret = ldap_setup_cleanup(ctx, sdom); 51 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 D | sdap_async_initgroups_ad.c | 88 state->search_bases = opts->sdom->group_search_bases; 732 struct sdap_domain *sdom; local 757 sdom = sdap_domain_get(opts, domain); 758 if (sdom == NULL || sdom->pvt == NULL) { 771 subdom_id_ctx = talloc_get_type(sdom->pvt, struct ad_id_ctx); 1079 struct sdap_domain *sdom; local 1105 sdom = sdap_domain_get(opts, domain); 1106 if (sdom == NULL || sdom [all...] |
H A D | sdap_async_private.h | 124 struct sdap_domain *sdom,
|
/sssd-io/src/tests/cmocka/ |
H A D | test_search_bases.c | 111 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 D | test_ldap_id_cleanup.c | 184 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 D | test_sdap.c | 984 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-io/src/providers/ad/ |
H A D | ad_id.c | 131 struct sdap_domain *sdom; member in struct:ad_handle_acct_info_state 148 struct sdap_domain *sdom, 163 state->sdom = sdom; 171 sdom->dom, 180 if (sss_domain_get_state(sdom->dom) == DOM_INACTIVE) { 224 ret = check_if_pac_is_available(state, state->sdom->dom, 232 state->sdom, 249 state->sdom, 329 if (IS_SUBDOMAIN(state->sdom 144 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 404 struct sdap_domain *sdom; local 514 struct sdap_domain *sdom; member in struct:ad_enumeration_state 1092 struct sdap_domain *sdom; member in struct:ad_get_account_domain_state [all...] |
H A D | ad_id.h | 41 struct sdap_domain *sdom,
|
H A D | ad_subdomains.c | 244 struct sdap_domain *sdom; local 331 ad_id_ctx->sdap_id_ctx->opts->sdom, 339 sdom = sdap_domain_get(ad_id_ctx->sdap_id_ctx->opts, subdom); 340 if (sdom == NULL) { 352 ret = ad_set_search_bases(ad_options->id, sdom); 359 ret = update_parent_sdap_list(id_ctx->sdap_id_ctx->opts->sdom, 360 sdom); 374 struct sdap_domain *sdom; member in struct:ad_subdomains_ctx 495 struct sdap_domain *sdom; local 561 sdom 1052 struct sdap_domain *sdom; local [all...] |
H A D | ad_pac.h | 73 struct sdap_domain *sdom,
|
H A D | ad_pac.c | 453 struct sdap_domain *sdom, 474 state->user_dom = sdom->dom; 497 sdom->dom->name, 498 sdom->dom->domain_id); 500 && sdom->dom->ignore_group_members == false) { 520 sdom->dom, 535 ret = sdap_ad_tokengroups_get_posix_members(state, sdom->dom, 550 id_ctx->opts, sdom->dom, 449 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 D | ad_common.c | 1135 struct sdap_domain *sdom) 1153 if (sdom != NULL) { 1154 sdap_dom = sdom; 1156 /* If no specific sdom was given, use the first in the list. */ 1157 sdap_dom = id_opts->sdom; 1349 struct sdap_domain *sdom; local 1352 sdom = sdap_domain_get(ad_ctx->sdap_id_ctx->opts, dom); 1353 if (sdom == NULL || sdom->pvt == NULL) { 1358 subdom_id_ctx = talloc_get_type(sdom 1134 ad_set_search_bases(struct sdap_options *id_opts, struct sdap_domain *sdom) argument [all...] |
/sssd-io/src/providers/ipa/ |
H A D | ipa_subdomains_server.c | 228 struct sdap_domain *sdom; local 324 ad_id_ctx->sdap_id_ctx->opts->sdom, 332 sdom = sdap_domain_get(ad_id_ctx->sdap_id_ctx->opts, subdom); 333 if (sdom == NULL) { 337 ret = ad_set_search_bases(ad_options->id, sdom); 350 sdom, 359 sdom->pvt = ad_id_ctx; 1007 struct sdap_domain *sdom; local 1024 sdom = sdap_domain_get(iter->ad_id_ctx->sdap_id_ctx->opts, subdom); 1025 if (sdom [all...] |