Lines Matching refs:basic
67 &opts->basic);
73 search_base = dp_opt_get_string(opts->basic, SDAP_SEARCH_BASE);
77 if (NULL == dp_opt_get_string(opts->basic, search_base_options[o])) {
78 ret = dp_opt_set_string(opts->basic, search_base_options[o],
84 opts->basic[search_base_options[o]].opt_name,
85 dp_opt_get_string(opts->basic,
96 ret = sdap_parse_search_base(opts, opts->basic,
102 ret = sdap_parse_search_base(opts, opts->basic,
108 ret = sdap_parse_search_base(opts, opts->basic,
114 ret = sdap_parse_search_base(opts, opts->basic,
120 ret = sdap_parse_search_base(opts, opts->basic,
125 pwd_policy = dp_opt_get_string(opts->basic, SDAP_PWD_POLICY);
151 account_cache_expiration = dp_opt_get_int(opts->basic,
166 opts->basic[SDAP_ACCOUNT_CACHE_EXPIRATION].opt_name,
176 opts->basic[SDAP_ACCOUNT_CACHE_EXPIRATION].opt_name,
184 ldap_deref = dp_opt_get_string(opts->basic, SDAP_DEREF);
196 ldap_referrals = dp_opt_get_bool(opts->basic, SDAP_REFERRALS);
201 ret = dp_opt_set_bool(opts->basic, SDAP_REFERRALS, false);
210 schema = dp_opt_get_string(opts->basic, SDAP_SCHEMA);
297 ret = krb5_try_kdcip(cdb, conf_path, opts->basic, SDAP_KRB5_KDC);
303 authtok_type = dp_opt_get_string(opts->basic, SDAP_DEFAULT_AUTHTOK_TYPE);
309 authtok_blob = dp_opt_get_blob(opts->basic, SDAP_DEFAULT_AUTHTOK);
326 ret = dp_opt_set_blob(opts->basic, SDAP_DEFAULT_AUTHTOK, authtok_blob);
333 ret = dp_opt_set_string(opts->basic, SDAP_DEFAULT_AUTHTOK_TYPE,
362 search_base = dp_opt_get_string(opts->basic, SDAP_SEARCH_BASE);
365 if (dp_opt_get_string(opts->basic, SDAP_SUDO_SEARCH_BASE) == NULL) {
366 ret = dp_opt_set_string(opts->basic, SDAP_SUDO_SEARCH_BASE,
375 opts->basic[SDAP_SUDO_SEARCH_BASE].opt_name,
376 dp_opt_get_string(opts->basic, SDAP_SUDO_SEARCH_BASE));
383 ret = sdap_parse_search_base(opts, opts->basic,
402 *use_host_filter = dp_opt_get_bool(opts->basic, SDAP_SUDO_USE_HOST_FILTER);
403 *include_netgroups = dp_opt_get_bool(opts->basic, SDAP_SUDO_INCLUDE_NETGROUPS);
404 *include_regexp = dp_opt_get_bool(opts->basic, SDAP_SUDO_INCLUDE_REGEXP);
493 search_base = dp_opt_get_string(opts->basic, SDAP_SEARCH_BASE);
496 if (dp_opt_get_string(opts->basic, SDAP_AUTOFS_SEARCH_BASE) == NULL) {
497 ret = dp_opt_set_string(opts->basic, SDAP_AUTOFS_SEARCH_BASE,
506 opts->basic[SDAP_AUTOFS_SEARCH_BASE].opt_name,
507 dp_opt_get_string(opts->basic, SDAP_AUTOFS_SEARCH_BASE));
528 ret = sdap_parse_search_base(opts, opts->basic,