Searched refs:opts (Results 1 - 25 of 136) sorted by relevance

123456

/sssd-io/src/providers/
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...]
/sssd-io/src/tests/cmocka/
H A Dtest_dp_opts.c66 static void assert_defaults(struct dp_option *opts) argument
73 s = dp_opt_get_string(opts, OPT_STRING_NODEFAULT);
76 s = dp_opt_get_string(opts, OPT_STRING_DEFAULT);
80 b = dp_opt_get_blob(opts, OPT_BLOB_NODEFAULT);
84 b = dp_opt_get_blob(opts, OPT_BLOB_DEFAULT);
89 i = dp_opt_get_int(opts, OPT_INT_NODEFAULT);
92 i = dp_opt_get_int(opts, OPT_INT_DEFAULT);
95 bo = dp_opt_get_bool(opts, OPT_BOOL_TRUE);
98 bo = dp_opt_get_bool(opts, OPT_BOOL_FALSE);
106 struct dp_option *opts; local
154 struct dp_option *opts; local
211 struct dp_option *opts; local
270 struct dp_option *opts; local
283 struct dp_option *opts = talloc_get_type(*state, struct dp_option); local
288 assert_nondefault_string_empty(struct dp_option *opts) argument
296 set_nondefault_string(struct dp_option *opts) argument
304 check_nondefault_string(struct dp_option *opts) argument
315 struct dp_option *opts = talloc_get_type(*state, struct dp_option); local
322 assert_nondefault_blob_empty(struct dp_option *opts) argument
331 set_nondefault_blob(struct dp_option *opts) argument
342 check_nondefault_blob(struct dp_option *opts) argument
354 struct dp_option *opts = talloc_get_type(*state, struct dp_option); local
361 assert_nondefault_int_notset(struct dp_option *opts) argument
368 set_nondefault_int(struct dp_option *opts) argument
375 assert_nondefault_int_set(struct dp_option *opts) argument
384 struct dp_option *opts = talloc_get_type(*state, struct dp_option); local
393 struct dp_option *opts = talloc_get_type(*state, struct dp_option); local
409 struct dp_option *opts = talloc_get_type(*state, struct dp_option); local
434 opts, opts_copy); local
442 opts, opts_copy); local
450 opts, opts_copy); local
461 opts, opts_copy); local
[all...]
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_sdap_certmap.c79 test_ctx->id_ctx->opts = talloc_zero(test_ctx->tctx, struct sdap_options);
80 assert_non_null(test_ctx->id_ctx->opts);
112 talloc_free(test_ctx->id_ctx->opts->sdap_certmap_ctx);
129 test_ctx->id_ctx->opts->sdap_certmap_ctx);
132 talloc_free(test_ctx->id_ctx->opts->sdap_certmap_ctx);
146 sdap_certmap_ref = test_ctx->id_ctx->opts->sdap_certmap_ctx;
153 test_ctx->id_ctx->opts->sdap_certmap_ctx);
157 talloc_free(test_ctx->id_ctx->opts->sdap_certmap_ctx);
172 sdap_certmap_ref = test_ctx->id_ctx->opts->sdap_certmap_ctx;
178 test_ctx->id_ctx->opts
[all...]
/sssd-io/src/providers/ldap/
H A Dldap_options.c39 struct sdap_options *opts; local
59 opts = talloc_zero(memctx, struct sdap_options);
60 if (!opts) return ENOMEM;
61 opts->dp = dp;
63 ret = sdap_domain_add(opts, dom, NULL);
68 ret = dp_get_options(opts, cdb, conf_path,
71 &opts->basic);
77 search_base = dp_opt_get_string(opts->basic, SDAP_SEARCH_BASE);
81 if (NULL == dp_opt_get_string(opts->basic, search_base_options[o])) {
82 ret = dp_opt_set_string(opts
373 ldap_get_sudo_options(struct confdb_ctx *cdb, const char *conf_path, struct sdap_options *opts, bool *use_host_filter, bool *include_regexp, bool *include_netgroups) argument
504 ldap_get_autofs_options(TALLOC_CTX *memctx, struct confdb_ctx *cdb, const char *conf_path, struct sdap_options *opts) argument
598 sdap_parse_search_base(TALLOC_CTX *mem_ctx, struct dp_option *opts, int class, struct sdap_search_base ***_search_bases) argument
[all...]
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 Dsdap_async_ad.h28 struct sdap_options *opts,
54 struct sdap_options *opts,
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 Dldap_auth.h34 struct sdap_options *opts,
H A Dsdap_ops.h30 struct sdap_options *opts,
47 struct sdap_options *opts,
64 struct sdap_options *opts,
82 struct sdap_options *opts,
H A Dsdap_sudo_shared.h29 struct dp_option *opts,
H A Dsdap_users.h34 struct sdap_options *opts,
H A Dsdap_async.h38 struct sdap_options *opts,
48 struct sdap_options *opts,
71 struct sdap_options *opts,
87 struct sdap_options *opts,
101 struct sdap_options *opts,
115 struct sdap_options *opts,
130 struct sdap_options *opts,
194 struct sdap_options *opts,
209 struct sdap_options *opts,
230 struct sdap_options *opts,
[all...]
H A Dsdap_async_private.h66 struct sdap_options *opts,
94 struct sdap_options *opts,
102 struct sdap_options *opts,
125 struct sdap_options *opts,
150 struct sdap_options *opts,
157 struct sdap_options *opts,
164 struct sdap_options *opts, struct sysdb_ctx *sysdb,
173 struct sdap_options *opts,
181 struct sdap_options *opts,
H A Dsdap_async_users.c56 sdap_get_idmap_primary_gid(struct sdap_options *opts, argument
74 opts->user_map[SDAP_AT_USER_PRIMARY_GROUP].sys_name,
107 ret = sdap_idmap_sid_to_unix(opts->idmap_ctx, group_sid_str, &gid);
173 struct sdap_options *opts,
222 ret = sdap_attrs_get_sid_str(tmpctx, opts->idmap_ctx, attrs,
223 opts->user_map[SDAP_AT_USER_OBJECTSID].sys_name,
242 ret = sysdb_handle_original_uuid(opts->user_map[SDAP_AT_USER_UUID].def_name,
244 opts->user_map[SDAP_AT_USER_UUID].sys_name,
263 ret = sdap_get_user_primary_name(memctx, opts, attrs, dom, &user_name);
270 if (opts
172 sdap_save_user(TALLOC_CTX *memctx, struct sdap_options *opts, struct sss_domain_info *dom, struct sysdb_attrs *attrs, struct sysdb_attrs *mapped_attrs, char **_usn_value, time_t now) argument
651 sdap_save_users(TALLOC_CTX *memctx, struct sysdb_ctx *sysdb, struct sss_domain_info *dom, struct sdap_options *opts, struct sysdb_attrs **users, int num_users, struct sysdb_attrs *mapped_attrs, char **_usn_value) argument
751 struct sdap_options *opts; member in struct:sdap_search_user_state
775 sdap_search_user_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sss_domain_info *dom, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sdap_handle *sh, const char **attrs, const char *filter, int timeout, enum sdap_entry_lookup_type lookup_type) argument
992 struct sdap_options *opts; member in struct:sdap_get_users_state
1004 sdap_get_users_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sss_domain_info *dom, struct sysdb_ctx *sysdb, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sdap_handle *sh, const char **attrs, const char *filter, int timeout, enum sdap_entry_lookup_type lookup_type, struct sysdb_attrs *mapped_attrs) argument
[all...]
/sssd-io/src/tests/
H A Dtcurl_test_tool.c87 parse_options(poptContext pc, struct tool_options *opts) argument
94 opts->method = TCURL_HTTP_GET;
97 opts->method = TCURL_HTTP_PUT;
100 opts->method = TCURL_HTTP_POST;
103 opts->method = TCURL_HTTP_DELETE;
123 struct tool_options *opts,
145 headers = opts->headers == NULL ? default_headers : opts->headers;
155 switch (opts->method) {
185 requests[i] = tcurl_http(requests, opts
121 prepare_requests(TALLOC_CTX *mem_ctx, poptContext pc, struct tool_options *opts, struct tcurl_request ***_requests, size_t *_num_requests) argument
306 struct tool_options opts = { 0 }; local
[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/config/SSSDConfig/
H A Dipachangeconf.py204 def findOpts(self, opts, type, name, exclude_sections=False):
207 for o in opts:
217 opts = []
226 opts.append({'name':'comment', 'type':'comment', 'value':val})
228 opts.append(n)
233 opts.append({'name':'comment', 'type':'comment', 'value':val})
235 opts.append(n)
237 opts.append({'name':'comment', 'type':'comment', 'value':val})
241 opts.append({'name':'comment', 'type':'comment', 'value':val})
244 opts
[all...]
/sssd-io/src/providers/ipa/
H A Dipa_config.h45 struct sdap_options *opts,
H A Dipa_deskprofile_config.h37 struct sdap_options *opts,
H A Dipa_deskprofile_rules.h31 struct sdap_options *opts,
H A Dipa_hbac_rules.h31 struct sdap_options *opts,
H A Dipa_selinux_maps.h35 struct sdap_options *opts,
/sssd-io/src/providers/krb5/
H A Dkrb5_init_shared.c38 if (dp_opt_get_bool(krb5_auth_ctx->opts, KRB5_STORE_PASSWORD_IF_OFFLINE)) {
47 renew_interval_str = dp_opt_get_string(krb5_auth_ctx->opts,
67 ret = sss_krb5_check_options(krb5_auth_ctx->opts, bectx->domain,
95 dp_opt_get_cstring(krb5_auth_ctx->opts,

Completed in 58 milliseconds

123456