summaryrefslogtreecommitdiff
path: root/src/providers/ad/ad_opts.h
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-05-14 18:00:10 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-23 11:45:38 +0200
commit6263578b03a52b3ec3a2e33e097554241780fc20 (patch)
tree44144d1017026806d48354780e5ef71ebfc6b04e /src/providers/ad/ad_opts.h
parentb0ab39364df453d4ec65d7d6e05a6530895ce3a6 (diff)
downloadsssd-6263578b03a52b3ec3a2e33e097554241780fc20.tar.gz
sssd-6263578b03a52b3ec3a2e33e097554241780fc20.tar.bz2
sssd-6263578b03a52b3ec3a2e33e097554241780fc20.zip
Adding option to disable retrieving large AD groups.
This commit adds new option ldap_disable_range_retrieval with default value FALSE. If this option is enabled, large groups(>1500) will not be retrieved and behaviour will be similar like was before commit ae8d047122c "LDAP: Handle very large Active Directory groups" https://fedorahosted.org/sssd/ticket/1823
Diffstat (limited to 'src/providers/ad/ad_opts.h')
-rw-r--r--src/providers/ad/ad_opts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ad/ad_opts.h b/src/providers/ad/ad_opts.h
index 6e9d843c..218614dc 100644
--- a/src/providers/ad/ad_opts.h
+++ b/src/providers/ad/ad_opts.h
@@ -122,6 +122,7 @@ struct dp_option ad_def_ldap_opts[] = {
{ "ldap_groups_use_matching_rule_in_chain", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
{ "ldap_initgroups_use_matching_rule_in_chain", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
{ "ldap_rfc2307_fallback_to_local_users", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
+ { "ldap_disable_range_retrieval", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE },
DP_OPTION_TERMINATOR
};