Searched defs:opts (Results 1 - 25 of 70) sorted by relevance

123

/sssd-io/src/providers/ldap/
H A Dsdap_ad_groups.c32 struct sdap_options *opts,
41 if (opts->schema_type == SDAP_SCHEMA_AD) {
31 sdap_check_ad_group_type(struct sss_domain_info *dom, struct sdap_options *opts, struct sysdb_attrs *group_attrs, const char *group_name, bool *_need_filter) argument
H A Dldap_common.h64 struct sdap_options *opts; member in struct:sdap_id_ctx
76 struct sdap_options *opts; member in struct:sdap_auth_ctx
172 const char *sdap_gssapi_realm(struct dp_option *opts);
175 struct dp_option *opts,
201 struct sdap_options *opts,
209 struct sdap_options *opts);
222 struct sdap_options *opts,
238 errno_t ldap_id_cleanup(struct sdap_options *opts,
320 errno_t sdap_domain_add(struct sdap_options *opts,
329 sdap_domain_remove(struct sdap_options *opts,
[all...]
H A Dldap_id_enum.c33 struct sdap_options *opts,
70 cleanup = dp_opt_get_int(opts->basic, SDAP_PURGE_CACHE_TIMEOUT);
76 ret = dp_opt_set_int(opts->basic, SDAP_PURGE_CACHE_TIMEOUT,
86 period = dp_opt_get_int(opts->basic, SDAP_ENUM_REFRESH_TIMEOUT);
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
H A Dsdap_async_groups_ad.c32 struct sdap_options *opts; member in struct:sdap_ad_match_rule_state
52 struct sdap_options *opts,
67 state->opts = opts;
72 state->search_bases = opts->sdom->user_search_bases;
75 ret = build_attrs_from_map(state, opts->user_map, opts->user_map_cnt,
108 state->opts->user_map[SDAP_AT_USER_MEMBEROF].name,
111 state->opts->user_map[SDAP_OC_USER].name);
155 state, state->ev, state->opts, stat
50 sdap_get_ad_match_rule_members_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, struct sysdb_attrs *group, int timeout) argument
[all...]
H A Dsdap_async_hosts.c30 struct sdap_options *opts; member in struct:sdap_host_state
63 struct sdap_options *opts,
79 state->opts = opts;
146 subreq = sdap_get_generic_send(state, state->ev, state->opts,
151 dp_opt_get_int(state->opts->basic,
60 sdap_host_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, const char *hostname, struct sdap_attr_map *host_map, struct sdap_search_base **search_bases) argument
H A Dsdap_domain.c33 sdap_domain_get(struct sdap_options *opts, argument
38 DLIST_FOR_EACH(sditer, opts->sdom) {
48 sdap_domain_get_by_dn(struct sdap_options *opts, argument
62 DLIST_FOR_EACH(sditer, opts->sdom) {
89 sdap_domain_add(struct sdap_options *opts, argument
96 sdom = talloc_zero(opts, struct sdap_domain);
101 sdom->head = &opts->sdom;
113 DLIST_ADD_END(opts->sdom, sdom, struct sdap_domain *);
150 ret = sdap_domain_add(sdap_id_ctx->opts, dom, &sdom);
193 sdap_domain_remove(struct sdap_options *opts, argument
[all...]
H A Dsdap_sudo_shared.c33 struct dp_option *opts,
46 smart = dp_opt_get_int(opts, SDAP_SUDO_SMART_REFRESH_INTERVAL);
47 full = dp_opt_get_int(opts, SDAP_SUDO_FULL_REFRESH_INTERVAL);
53 smart = opts[SDAP_SUDO_SMART_REFRESH_INTERVAL].def_val.number;
32 sdap_sudo_ptask_setup_generic(struct be_ctx *be_ctx, struct dp_option *opts, be_ptask_send_t full_send_fn, be_ptask_recv_t full_recv_fn, be_ptask_send_t smart_send_fn, be_ptask_recv_t smart_recv_fn, void *pvt) argument
H A Dldap_id_cleanup.c50 return ldap_id_cleanup(cleanup_ctx->ctx->opts, cleanup_ctx->sdom);
62 period = dp_opt_get_int(id_ctx->opts->basic, SDAP_PURGE_CACHE_TIMEOUT);
111 static int cleanup_users(struct sdap_options *opts,
117 errno_t ldap_id_cleanup(struct sdap_options *opts, argument
136 ret = cleanup_users(opts, sdom->dom);
175 static int cleanup_users(struct sdap_options *opts, argument
195 account_cache_expiration = dp_opt_get_int(opts->basic, SDAP_ACCOUNT_CACHE_EXPIRATION);
H A Dldap_init.c82 auth_ctx->opts = options;
93 struct sdap_options *opts,
102 dns_service_name = dp_opt_get_string(opts->basic,
110 urls = dp_opt_get_string(opts->basic, SDAP_CHPASS_URI);
111 backup_urls = dp_opt_get_string(opts->basic, SDAP_CHPASS_BACKUP_URI);
177 static errno_t check_expire_policy(struct sdap_options *opts) argument
189 expire_policy = dp_opt_get_cstring(opts->basic,
217 struct sdap_options *opts,
222 filter = dp_opt_get_cstring(opts->basic, SDAP_ACCESS_FILTER);
246 struct sdap_options *opts)
91 init_chpass_service(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, struct sdap_options *opts, struct sdap_service **_chpass_service) argument
216 get_access_filter(TALLOC_CTX *mem_ctx, struct sdap_options *opts, const char **_filter) argument
244 set_access_rules(TALLOC_CTX *mem_ctx, struct sdap_access_ctx *access_ctx, struct sdap_options *opts) argument
327 get_sdap_service(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx, struct sdap_options *opts, struct sdap_service **_sdap_service) argument
359 should_call_gssapi_init(struct sdap_options *opts) argument
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_config.c42 struct sdap_options *opts,
85 subreq = sdap_get_generic_send(state, ev, opts,
89 dp_opt_get_int(opts->basic,
39 ipa_get_config_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, const char *domain, const char **attrs) argument
H A Dipa_deskprofile_config.c40 struct sdap_options *opts,
64 subreq = sdap_get_generic_send(state, ev, opts, sh,
69 dp_opt_get_int(opts->basic,
37 ipa_deskprofile_get_config_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, struct dp_option *ipa_opts) argument
H A Dipa_selinux_maps.c32 struct sdap_options *opts; member in struct:ipa_selinux_get_maps_state
56 struct sdap_options *opts,
72 state->opts = opts;
133 subreq = sdap_get_generic_send(state, state->ev, state->opts,
139 dp_opt_get_int(state->opts->basic,
52 ipa_selinux_get_maps_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sysdb_ctx *sysdb, struct sdap_handle *sh, struct sdap_options *opts, struct ipa_options *ipa_opts, struct sdap_search_base **search_bases) argument
H A Dipa_deskprofile_rules.c34 struct sdap_options *opts; member in struct:ipa_deskprofile_rule_state
57 struct sdap_options *opts,
101 state->opts = opts;
270 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
274 dp_opt_get_int(state->opts->basic,
54 ipa_deskprofile_rule_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sysdb_attrs *ipa_host, struct sss_domain_info *domain, const char *username) argument
H A Dipa_hbac_rules.c32 struct sdap_options *opts; member in struct:ipa_hbac_rule_state
55 struct sdap_options *opts,
92 state->opts = opts;
219 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
223 dp_opt_get_int(state->opts->basic,
52 ipa_hbac_rule_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sysdb_attrs *ipa_host) argument
H A Dipa_hosts.c31 struct sdap_options *opts; member in struct:ipa_host_state
69 struct sdap_options *opts,
85 state->opts = opts;
92 subreq = sdap_host_info_send(mem_ctx, ev, sh, opts, hostname, host_map,
160 if (!sdap_has_deref_support(state->sh, state->opts)) {
175 subreq = sdap_deref_search_send(state, state->ev, state->opts, state->sh,
180 dp_opt_get_int(state->opts->basic,
214 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
219 dp_opt_get_int(state->opts
66 ipa_host_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, const char *hostname, struct sdap_attr_map *host_map, struct sdap_attr_map *hostgroup_map, struct sdap_search_base **search_bases) argument
[all...]
H A Dipa_hbac_services.c31 struct sdap_options *opts; member in struct:ipa_hbac_service_state
63 struct sdap_options *opts,
79 state->opts = opts;
150 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
154 dp_opt_get_int(state->opts->basic,
264 subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
267 dp_opt_get_int(state->opts->basic,
60 ipa_hbac_service_info_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_handle *sh, struct sdap_options *opts, struct sdap_search_base **search_bases) argument
/sssd-io/src/providers/
H A Dbe_dyndns.h40 struct dp_option *opts; member in struct:be_nsupdate_ctx
H A Ddata_provider_opts.c90 struct dp_option *opts; local
93 opts = talloc_zero_array(memctx, struct dp_option, num_opts);
94 if (!opts) return ENOMEM;
99 opts[i].opt_name = def_opts[i].opt_name;
100 opts[i].type = def_opts[i].type;
101 opts[i].def_val = def_opts[i].def_val;
105 ret = confdb_get_string(cdb, opts, conf_path,
106 opts[i].opt_name,
107 opts[i].def_val.cstring,
108 &opts[
197 struct dp_option *opts; local
317 _dp_opt_get_cstring(struct dp_option *opts, int id, const char *location) argument
331 _dp_opt_get_string(struct dp_option *opts, int id, const char *location) argument
345 _dp_opt_get_blob(struct dp_option *opts, int id, const char *location) argument
359 _dp_opt_get_int(struct dp_option *opts, int id, const char *location) argument
373 _dp_opt_get_bool(struct dp_option *opts, int id, const char *location) argument
388 _dp_opt_set_string(struct dp_option *opts, int id, const char *s, const char *location) argument
414 _dp_opt_set_blob(struct dp_option *opts, int id, struct dp_opt_blob b, const char *location) argument
441 _dp_opt_set_int(struct dp_option *opts, int id, int i, const char *location) argument
458 _dp_opt_set_bool(struct dp_option *opts, int id, bool b, const char *location) argument
[all...]
H A Dbackend.h49 struct dp_option *opts; member in struct:be_resolv_ctx
/sssd-io/src/tests/cmocka/
H A Dcommon_mock_sdap.c38 sdap_id_ctx->opts = sdap_opts;
48 struct sdap_options *opts = NULL; local
51 ret = ldap_get_options(mem_ctx, domain, confdb_ctx, conf_path, NULL, &opts);
56 return opts;
79 bool sdap_has_deref_support(struct sdap_handle *sh, struct sdap_options *opts) argument
86 struct sdap_options *opts,
115 struct sdap_options *opts,
84 sdap_get_generic_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *search_base, int scope, const char *filter, const char **attrs, struct sdap_attr_map *map, int map_num_attrs, int timeout, bool allow_paging) argument
113 sdap_deref_search_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_options *opts, struct sdap_handle *sh, const char *base_dn, const char *deref_attr, const char **attrs, int num_maps, struct sdap_attr_map_info *maps, int timeout) argument
H A Dtest_krb5_common.c180 struct dp_option *opts; local
188 "[domain/" TEST_DOM_NAME "]", &opts);
190 assert_non_null(opts);
195 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
200 ret = dp_opt_set_string(opts, KRB5_LIFETIME, "123");
202 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
206 ret = dp_opt_set_string(opts, KRB5_LIFETIME, "abc");
208 ret = sss_krb5_check_options(opts, test_ctx->tctx->dom, krb5_ctx);
211 ret = dp_opt_set_string(opts, KRB5_LIFETIME, "s");
213 ret = sss_krb5_check_options(opts, test_ct
[all...]
H A Dtest_search_bases.c110 struct sdap_options *opts; local
133 opts = talloc(tmp_ctx, struct sdap_options);
134 assert_non_null(opts);
135 opts->sdom = sdom;
136 res_sdom = sdap_domain_get_by_dn(opts, dn);
/sssd-io/src/tests/
H A Dipa_ldap_opt-tests.c53 struct dp_option *opts, int class,
259 struct dp_option *opts; local
264 ret = dp_copy_defaults(tmp_ctx, ad_def_ldap_opts, SDAP_OPTS_BASIC, &opts);
273 switch (opts[i].type) {
275 s1 = dp_opt_get_string(opts, i);
276 s2 = opts[i].def_val.string;
281 opts[i].opt_name);
286 i1 = dp_opt_get_int(opts, i);
287 i2 = opts[i].def_val.number;
291 opts[
52 sdap_parse_search_base(TALLOC_CTX *mem_ctx, struct dp_option *opts, int class, struct sdap_search_base ***_search_bases) argument
[all...]
/sssd-io/src/tools/sssctl/
H A Dsssctl_data.c129 struct sssctl_data_opts opts = {0}; local
134 {"override", 'o', POPT_ARG_NONE, &opts.override, 0, _("Override existing backup"), NULL },
144 ret = sssctl_backup(opts.override);
189 struct sssctl_data_opts opts = {0}; local
194 {"start", 's', POPT_ARG_NONE, &opts.start, 0, _("Start SSSD if it is not running"), NULL },
195 {"restart", 'r', POPT_ARG_NONE, &opts.restart, 0, _("Restart SSSD after data import"), NULL },
205 return sssctl_restore(opts.start, opts.restart);
212 struct sssctl_data_opts opts = {0}; local
217 {"override", 'o', POPT_ARG_NONE, &opts
[all...]
/sssd-io/src/providers/ad/
H A Dad_domain_info.c183 struct sdap_options *opts; member in struct:ad_master_domain_state
216 state->opts = conn->id_ctx->opts;
246 base = state->opts->sdom->search_bases[state->base_iter];
252 state->id_ctx->opts,
257 dp_opt_get_int(state->opts->basic,
314 err = sss_idmap_bin_sid_to_sid(state->opts->idmap_ctx->map,
353 state->id_ctx->opts,
356 dp_opt_get_int(state->opts->basic,

Completed in 74 milliseconds

123