Searched refs:state (Results 1 - 25 of 207) sorted by relevance

123456789

/sssd-io/src/tests/cmocka/
H A Dtest_utils.h27 void test_textual_public_key(void **state);
30 void test_replace_whitespaces(void **state);
31 void test_reverse_replace_whitespaces(void **state);
32 void test_guid_blob_to_string_buf(void **state);
33 void test_get_last_x_chars(void **state);
34 void test_concatenate_string_array(void **state);
H A Dtest_expire_common.h34 int expire_test_setup(void **state);
35 int expire_test_teardown(void **state);
H A Dtest_sdap_access.h33 static int test_sdap_access_rhost_setup(void **state);
34 static int test_sdap_access_rhost_teardown(void **state);
/sssd-io/src/providers/ldap/
H A Dsdap_async_hosts.c52 struct sdap_host_state *state);
69 struct sdap_host_state *state; local
72 req = tevent_req_create(mem_ctx, &state, struct sdap_host_state);
77 state->ev = ev;
78 state->sh = sh;
79 state->opts = opts;
80 state->hostname = hostname;
81 state->search_bases = search_bases;
82 state->search_base_iter = 0;
83 state
128 sdap_host_info_next(struct tevent_req *req, struct sdap_host_state *state) argument
169 struct sdap_host_state *state = tevent_req_data(req, struct sdap_host_state); local
201 struct sdap_host_state *state = tevent_req_data(req, struct sdap_host_state); local
[all...]
H A Dsdap_ops.c66 struct sdap_search_bases_ex_state *state; local
69 req = tevent_req_create(mem_ctx, &state, struct sdap_search_bases_ex_state);
80 state->ev = ev;
81 state->opts = opts;
82 state->sh = sh;
83 state->bases = bases;
84 state->map = map;
85 state->filter = filter;
86 state->attrs = attrs;
87 state
134 struct sdap_search_bases_ex_state *state; local
173 struct sdap_search_bases_ex_state *state; local
235 struct sdap_search_bases_ex_state *state = local
335 struct sdap_deref_bases_ex_state *state; local
395 struct sdap_deref_bases_ex_state *state; local
424 struct sdap_deref_bases_ex_state *state; local
486 struct sdap_deref_bases_ex_state *state = local
[all...]
H A Dsdap_async_groups_ad.c59 struct sdap_ad_match_rule_state *state; local
63 req = tevent_req_create(mem_ctx, &state, struct sdap_ad_match_rule_state);
66 state->ev = ev;
67 state->opts = opts;
68 state->sh = sh;
69 state->timeout = timeout;
70 state->count = 0;
71 state->base_iter = 0;
72 state->search_bases = opts->sdom->user_search_bases;
75 ret = build_attrs_from_map(state, opt
139 struct sdap_ad_match_rule_state *state; local
176 struct sdap_ad_match_rule_state *state = local
241 struct sdap_ad_match_rule_state *state = local
[all...]
H A Dsdap_dyndns.c69 static errno_t sdap_dyndns_addrs_diff(struct sdap_dyndns_update_state *state,
76 sdap_dyndns_next_ptr_record(struct sdap_dyndns_update_state *state,
98 struct sdap_dyndns_update_state *state; local
101 req = tevent_req_create(mem_ctx, &state, struct sdap_dyndns_update_state);
105 state->check_diff = check_diff;
106 state->update_ptr = dp_opt_get_bool(opts, DP_OPT_DYNDNS_UPDATE_PTR);
107 state->hostname = hostname;
108 state->realm = realm;
109 state->servername = NULL;
110 state
173 struct sdap_dyndns_update_state *state; local
214 struct sdap_dyndns_update_state *state; local
262 sdap_dyndns_addrs_diff(struct sdap_dyndns_update_state *state, bool *_do_update) argument
321 struct sdap_dyndns_update_state *state; local
364 struct sdap_dyndns_update_state *state; local
459 struct sdap_dyndns_update_state *state; local
507 struct sdap_dyndns_update_state *state; local
545 sdap_dyndns_next_ptr_record(struct sdap_dyndns_update_state *state, struct tevent_req *req) argument
661 struct sdap_dyndns_get_addrs_state *state; local
717 struct sdap_dyndns_get_addrs_state *state; local
750 sdap_dyndns_add_ldap_conn(struct sdap_dyndns_get_addrs_state *state, struct sdap_handle *sh) argument
799 struct sdap_dyndns_get_addrs_state *state; local
825 struct sdap_dyndns_timer_state *state; local
875 struct sdap_dyndns_timer_state *state = tevent_req_data(req, local
[all...]
H A Dldap_id_services.c75 struct sdap_services_get_state *state; local
80 req = tevent_req_create(mem_ctx, &state, struct sdap_services_get_state);
83 state->ev = ev;
84 state->id_ctx = id_ctx;
85 state->sdom = sdom;
86 state->conn = conn;
87 state->dp_error = DP_ERR_FATAL;
88 state->domain = sdom->dom;
89 state->sysdb = sdom->dom->sysdb;
90 state
167 struct sdap_services_get_state *state = local
186 struct sdap_services_get_state *state = local
222 struct sdap_services_get_state *state = local
293 struct sdap_services_get_state *state = local
[all...]
H A Dldap_id.c84 struct users_get_state *state; local
95 req = tevent_req_create(memctx, &state, struct users_get_state);
98 state->ev = ev;
99 state->ctx = ctx;
100 state->sdom = sdom;
101 state->conn = conn;
102 state->dp_error = DP_ERR_FATAL;
103 state->noexist_delete = noexist_delete;
104 state->extra_attrs = NULL;
106 state
379 struct users_get_state *state = tevent_req_data(req, local
397 struct users_get_state *state = tevent_req_data(req, local
441 struct users_get_state *state = tevent_req_data(req, local
476 struct users_get_state *state = tevent_req_data(req, local
507 struct users_get_state *state = tevent_req_data(req, local
651 struct users_get_state *state = tevent_req_data(req, local
711 struct groups_get_state *state; local
924 struct groups_get_state *state = tevent_req_data(req, local
942 struct groups_get_state *state = tevent_req_data(req, local
985 struct groups_get_state *state = tevent_req_data(req, local
1020 struct groups_get_state *state = tevent_req_data(req, local
1051 struct groups_get_state *state = tevent_req_data(req, local
1118 struct groups_get_state *state = tevent_req_data(req, local
1146 struct groups_get_state *state = tevent_req_data(req, local
1205 struct groups_get_state *state = tevent_req_data(req, local
1293 struct groups_by_user_state *state; local
1342 struct groups_by_user_state *state = tevent_req_data(req, local
1360 struct groups_by_user_state *state = tevent_req_data(req, local
1395 struct groups_by_user_state *state = tevent_req_data(req, local
1462 struct groups_by_user_state *state = tevent_req_data(req, local
1530 struct sdap_handle_acct_req_state *state; local
1696 struct sdap_handle_acct_req_state *state; local
1757 struct sdap_handle_acct_req_state *state; local
1816 struct get_user_and_group_state *state; local
1868 struct get_user_and_group_state *state = tevent_req_data(req, local
1923 struct get_user_and_group_state *state = tevent_req_data(req, local
1959 struct get_user_and_group_state *state = tevent_req_data(req, local
1987 struct sdap_account_info_handler_state *state; local
2028 struct sdap_account_info_handler_state *state; local
2049 struct sdap_account_info_handler_state *state = NULL; local
[all...]
H A Dsdap_async_connection.c71 struct sdap_connect_state *state; local
75 req = tevent_req_create(memctx, &state, struct sdap_connect_state);
84 state->reply = talloc(state, struct sdap_msg);
85 if (!state->reply) {
90 state->ev = ev;
91 state->opts = opts;
92 state->use_start_tls = use_start_tls;
94 state->uri = talloc_asprintf(state, "
133 struct sdap_connect_state *state = tevent_req_data(req, local
356 struct sdap_connect_state *state = tevent_req_data(req, local
420 struct sdap_connect_state *state = tevent_req_data(req, local
458 struct sdap_connect_host_state *state = NULL; local
520 struct sdap_connect_host_state *state = NULL; local
569 struct sdap_connect_host_state *state = NULL; local
607 struct sdap_connect_host_state *state = NULL; local
644 struct simple_bind_state *state; local
725 struct simple_bind_state *state = tevent_req_data(req, local
893 struct simple_bind_state *state = tevent_req_data(req, local
927 struct sasl_bind_state *state; local
1001 struct sasl_bind_state *state = talloc_get_type(defaults, local
1087 struct sdap_kinit_state *state; local
1135 struct sdap_kinit_state *state = tevent_req_data(req, local
1158 struct sdap_kinit_state *state = tevent_req_data(req, local
1188 struct sdap_kinit_state *state = tevent_req_data(req, local
1254 struct sdap_kinit_state *state = tevent_req_data(req, local
1295 struct sdap_auth_state *state; local
1363 struct sdap_auth_state *state = tevent_req_data(req, local
1385 struct sdap_auth_state *state = tevent_req_data(req, local
1473 struct sdap_cli_connect_state *state; local
1500 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1524 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1561 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1608 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1636 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1691 sdap_cli_use_rootdse(struct sdap_cli_connect_state *state) argument
1729 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1759 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1781 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1875 struct sdap_cli_connect_state *state; local
1907 struct sdap_cli_connect_state *state; local
1953 struct sdap_cli_connect_state *state = tevent_req_data(req, local
1985 struct sdap_cli_connect_state *state = tevent_req_data(req, local
2032 struct sdap_cli_connect_state *state = tevent_req_data(req, local
[all...]
H A Dsdap_async_netgroups.c242 struct netgr_translate_members_state *state; local
256 req = tevent_req_create(memctx, &state,
262 state->ev = ev;
263 state->opts = opts;
264 state->sh = sh;
265 state->netgroups = netgroups;
266 state->count = count;
267 state->dn_list = NULL;
268 state->dn_item = NULL;
269 state
414 struct netgr_translate_members_state *state = tevent_req_data(req, local
482 struct netgr_translate_members_state *state = tevent_req_data(req, local
549 struct netgr_translate_members_state *state = tevent_req_data(req, local
598 struct sdap_get_netgroups_state *state; local
638 struct sdap_get_netgroups_state *state; local
673 struct sdap_get_netgroups_state *state = tevent_req_data(req, local
721 struct sdap_get_netgroups_state *state = tevent_req_data(req, local
760 struct sdap_get_netgroups_state *state = tevent_req_data(req, local
[all...]
H A Dldap_id_netgroup.c69 struct ldap_netgroup_get_state *state; local
73 req = tevent_req_create(memctx, &state, struct ldap_netgroup_get_state);
76 state->ev = ev;
77 state->ctx = ctx;
78 state->sdom = sdom;
79 state->conn = conn;
80 state->dp_error = DP_ERR_FATAL;
81 state->noexist_delete = noexist_delete;
83 state->op = sdap_id_op_create(state, stat
130 struct ldap_netgroup_get_state *state = tevent_req_data(req, local
148 struct ldap_netgroup_get_state *state = tevent_req_data(req, local
182 struct ldap_netgroup_get_state *state = tevent_req_data(req, local
233 struct ldap_netgroup_get_state *state = tevent_req_data(req, local
[all...]
H A Dsdap_hostid.c56 struct hosts_get_state *state; local
59 req = tevent_req_create(memctx, &state, struct hosts_get_state);
62 state->ev = ev;
63 state->id_ctx = id_ctx;
64 state->dp_error = DP_ERR_FATAL;
66 state->op = sdap_id_op_create(state, id_ctx->conn->conn_cache);
67 if (!state->op) {
73 state->domain = id_ctx->be->domain;
74 state
93 struct hosts_get_state *state = tevent_req_data(req, local
112 struct hosts_get_state *state = tevent_req_data(req, local
143 struct hosts_get_state *state = tevent_req_data(req, local
221 struct hosts_get_state *state = tevent_req_data(req, local
245 struct sdap_hostid_handler_state *state; local
280 struct sdap_hostid_handler_state *state; local
301 struct sdap_hostid_handler_state *state = NULL; local
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_hosts.c57 struct ipa_host_state *state);
75 struct ipa_host_state *state; local
78 req = tevent_req_create(mem_ctx, &state, struct ipa_host_state);
83 state->ev = ev;
84 state->sh = sh;
85 state->opts = opts;
86 state->hostname = hostname;
87 state->search_bases = search_bases;
88 state->search_base_iter = 0;
89 state
109 struct ipa_host_state *state = local
196 ipa_hostgroup_info_next(struct tevent_req *req, struct ipa_host_state *state) argument
238 struct ipa_host_state *state = local
353 struct ipa_host_state *state = local
[all...]
H A Dipa_hbac_rules.c47 struct ipa_hbac_rule_state *state);
62 struct ipa_hbac_rule_state *state; local
69 req = tevent_req_create(mem_ctx, &state, struct ipa_hbac_rule_state);
87 ret = sss_filter_sanitize(state, host_dn, &host_dn_clean);
90 state->ev = ev;
91 state->sh = sh;
92 state->opts = opts;
93 state->search_bases = search_bases;
94 state->search_base_iter = 0;
95 state
197 ipa_hbac_rule_info_next(struct tevent_req *req, struct ipa_hbac_rule_state *state) argument
241 struct ipa_hbac_rule_state *state = local
304 struct ipa_hbac_rule_state *state = local
[all...]
H A Dipa_id.c84 struct ipa_resolve_user_list_state *state; local
86 req = tevent_req_create(memctx, &state,
93 state->ev = ev;
94 state->ipa_ctx = ipa_ctx;
95 state->domain_name = domain_name;
96 state->domain = find_domain_by_name(state->ipa_ctx->sdap_id_ctx->be->domain,
97 state->domain_name, true);
98 state->users = users;
99 state
122 struct ipa_resolve_user_list_state *state = tevent_req_data(req, local
170 struct ipa_resolve_user_list_state *state = tevent_req_data(req, local
211 struct ipa_resolve_user_list_state *state = tevent_req_data(req, local
251 struct ipa_initgr_get_overrides_state *state; local
300 struct ipa_initgr_get_overrides_state *state = tevent_req_data(req, local
366 struct ipa_initgr_get_overrides_state *state = tevent_req_data(req, local
412 struct ipa_initgr_get_overrides_state *state = tevent_req_data(req, local
526 struct ipa_id_get_account_info_state *state; local
603 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
638 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
718 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
742 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
832 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
958 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
1050 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
1088 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
1124 struct ipa_id_get_account_info_state *state = tevent_req_data(req, local
1167 struct ipa_id_get_netgroup_state *state; local
1233 struct ipa_id_get_netgroup_state *state = local
1267 struct ipa_id_get_netgroup_state *state = local
1317 struct ipa_id_get_netgroup_state *state = local
1360 struct ipa_account_info_handler_state *state; local
1420 struct ipa_account_info_handler_state *state; local
1450 struct ipa_account_info_handler_state *state = NULL; local
[all...]
H A Dipa_selinux_maps.c48 struct ipa_selinux_get_maps_state *state);
61 struct ipa_selinux_get_maps_state *state; local
64 req = tevent_req_create(mem_ctx, &state, struct ipa_selinux_get_maps_state);
69 state->ev = ev;
70 state->sysdb = sysdb;
71 state->sh = sh;
72 state->opts = opts;
73 state->ipa_opts = ipa_opts;
74 state->search_bases = search_bases;
75 state
112 ipa_selinux_get_maps_next(struct tevent_req *req, struct ipa_selinux_get_maps_state *state) argument
155 struct ipa_selinux_get_maps_state *state = tevent_req_data(req, local
213 struct ipa_selinux_get_maps_state *state = local
[all...]
H A Dipa_netgroups.c190 static int ipa_netgr_process_all(struct ipa_get_netgroups_state *state);
204 struct ipa_get_netgroups_state *state; local
207 req = tevent_req_create(memctx, &state, struct ipa_get_netgroups_state);
210 state->ev = ev;
211 state->opts = opts;
212 state->ipa_opts = ipa_options;
213 state->sh = sh;
214 state->sysdb = sysdb;
215 state->attrs = attrs;
216 state
250 struct ipa_get_netgroups_state *state; local
297 struct ipa_get_netgroups_state *state = tevent_req_data(req, local
428 ipa_netgr_fetch_netgroups(struct ipa_get_netgroups_state *state, struct tevent_req *req) argument
466 ipa_netgr_fetch_users(struct ipa_get_netgroups_state *state, struct tevent_req *req) argument
509 ipa_netgr_fetch_hosts(struct ipa_get_netgroups_state *state, struct tevent_req *req) argument
560 struct ipa_get_netgroups_state *state = tevent_req_data(req, local
681 struct ipa_get_netgroups_state *state; local
702 struct extract_state *state; local
746 struct extract_state *state; local
835 ipa_netgr_process_all(struct ipa_get_netgroups_state *state) argument
1012 struct ipa_get_netgroups_state *state = tevent_req_data(req, local
[all...]
H A Dipa_config.c48 struct ipa_get_config_state *state; local
52 req = tevent_req_create(mem_ctx, &state, struct ipa_get_config_state);
58 state->attrs = talloc_zero_array(state, const char *, 4);
59 if (state->attrs == NULL) {
63 state->attrs[0] = IPA_CONFIG_MIGRATION_ENABLED;
64 state->attrs[1] = IPA_CONFIG_SELINUX_DEFAULT_USER_CTX;
65 state->attrs[2] = IPA_CONFIG_SELINUX_MAP_ORDER;
66 state->attrs[3] = NULL;
68 state
114 struct ipa_get_config_state *state = tevent_req_data(req, local
149 struct ipa_get_config_state *state = tevent_req_data(req, local
[all...]
H A Dipa_session.c81 struct ipa_fetch_deskprofile_state *state; local
90 req = tevent_req_create(mem_ctx, &state,
97 state->ev = ev;
98 state->be_ctx = be_ctx;
99 state->session_ctx = session_ctx;
100 state->sdap_ctx = session_ctx->sdap_ctx;
101 state->ipa_options = session_ctx->ipa_options;
102 state->search_bases = session_ctx->deskprofile_search_bases;
103 state->username = username;
104 state
187 struct ipa_fetch_deskprofile_state *state; local
238 struct ipa_fetch_deskprofile_state *state; local
265 struct ipa_fetch_deskprofile_state *state; local
313 struct ipa_fetch_deskprofile_state *state; local
356 struct ipa_fetch_deskprofile_state *state; local
487 struct ipa_pam_session_handler_state *state; local
558 struct ipa_pam_session_handler_state *state; local
607 struct ipa_pam_session_handler_state *state = NULL; local
[all...]
H A Dipa_auth.c54 struct get_password_migration_flag_state *state; local
61 req = tevent_req_create(memctx, &state,
68 state->ev = ev;
69 state->sdap_id_ctx = sdap_id_ctx;
70 state->srv = NULL;
71 state->password_migration = false;
72 state->ipa_realm = ipa_realm;
74 state->sdap_op = sdap_id_op_create(state,
75 state
101 struct get_password_migration_flag_state *state = tevent_req_data(req, local
133 struct get_password_migration_flag_state *state = tevent_req_data(req, local
161 struct get_password_migration_flag_state *state = tevent_req_data(req, local
190 struct ipa_pam_auth_handler_state *state; local
237 struct ipa_pam_auth_handler_state *state; local
281 struct ipa_pam_auth_handler_state *state; local
322 struct ipa_pam_auth_handler_state *state; local
380 struct ipa_pam_auth_handler_state *state; local
426 struct ipa_pam_auth_handler_state *state; local
450 struct ipa_pam_auth_handler_state *state = NULL; local
[all...]
/sssd-io/src/resolv/
H A Dasync_resolv_utils.c45 struct resolv_get_domain_state *state = NULL; local
51 req = tevent_req_create(mem_ctx, &state,
71 state->fqdn = NULL;
72 state->hostname = talloc_strdup(state, hostname);
73 if (state->hostname == NULL) {
78 DEBUG(SSSDBG_TRACE_LIBS, "Host name is: %s\n", state->hostname);
80 subreq = resolv_gethostbyname_send(state, ev, resolv_ctx, state->hostname,
100 struct resolv_get_domain_state *state local
132 struct resolv_get_domain_state *state = NULL; local
179 struct resolv_discover_srv_state *state = NULL; local
223 struct resolv_discover_srv_state *state = NULL; local
269 struct resolv_discover_srv_state *state = NULL; local
316 struct resolv_discover_srv_state *state = NULL; local
[all...]
/sssd-io/src/responder/common/cache_req/
H A Dcache_req_sr_overlay.c35 struct cache_req_sr_overlay_state *state);
38 struct cache_req_sr_overlay_state *state);
41 struct cache_req_sr_overlay_state *state);
56 struct cache_req_sr_overlay_state *state; local
59 req = tevent_req_create(mem_ctx, &state,
66 state->ev = ev;
67 state->cr = cr;
68 state->results = results;
69 state->num_results = num_results;
83 subreq = cache_req_sr_overlay_match_all_step_send(state);
117 cache_req_sr_overlay_match_users( struct cache_req_sr_overlay_state *state) argument
214 cache_req_sr_overlay_match_all_step_send( struct cache_req_sr_overlay_state *state) argument
236 struct cache_req_sr_overlay_state *state; local
[all...]
/sssd-io/src/providers/
H A Dfail_over_srv.c45 struct fo_discover_srv_state *state = NULL; local
50 req = tevent_req_create(mem_ctx, &state, struct fo_discover_srv_state);
56 subreq = resolv_discover_srv_send(state, ev, resolv_ctx, service,
76 struct fo_discover_srv_state *state = NULL; local
84 state = tevent_req_data(req, struct fo_discover_srv_state);
86 ret = resolv_discover_srv_recv(state, subreq,
87 &reply_list, &state->ttl, &state->dns_domain);
109 state->num_servers = 0;
111 state
151 struct fo_discover_srv_state *state = NULL; local
202 struct fo_discover_servers_state *state = NULL; local
290 struct fo_discover_servers_state *state = NULL; local
365 struct fo_discover_servers_state *state = NULL; local
403 struct fo_discover_servers_state *state = NULL; local
505 struct fo_resolve_srv_dns_state *state = NULL; local
569 struct fo_resolve_srv_dns_state *state = NULL; local
597 struct fo_resolve_srv_dns_state *state = NULL; local
655 struct fo_resolve_srv_dns_state *state = NULL; local
688 struct fo_resolve_srv_dns_state *state = NULL; local
[all...]
/sssd-io/src/providers/simple/
H A Dsimple_access_check.c228 simple_resolve_group_check(struct simple_resolve_group_state *state);
241 struct simple_resolve_group_state *state; local
244 req = tevent_req_create(mem_ctx, &state,
248 state->domain = domain;
249 state->gid = gid;
250 state->ctx = ctx;
254 ret = simple_resolve_group_check(state);
267 ar = talloc(state, struct dp_id_data);
276 ar->domain = talloc_strdup(ar, state->domain->name);
282 subreq = dp_req_send(state, ct
304 simple_resolve_group_check(struct simple_resolve_group_state *state) argument
343 struct simple_resolve_group_state *state; local
382 struct simple_resolve_group_state *state; local
430 struct simple_check_groups_state *state; local
553 struct simple_check_groups_state *state = local
587 simple_check_process_group(struct simple_check_groups_state *state, struct ldb_message *group) argument
660 simple_check_get_groups_primary(struct simple_check_groups_state *state, gid_t gid) argument
694 struct simple_check_groups_state *state; local
725 struct simple_access_check_state *state; local
787 struct simple_access_check_state *state = local
835 struct simple_access_check_state *state = local
[all...]

Completed in 66 milliseconds

123456789