diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-11-07 13:58:17 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-11-18 10:33:38 +0100 |
commit | ebfba7641dcc5e0c2d032ac791e66c788ffd0072 (patch) | |
tree | 502d04892f140da0e80cf8e21bf7d7fd657aa7f0 | |
parent | c0070aa587ada9e50dd79ce46d2d70be8e382f88 (diff) | |
download | sssd-ebfba7641dcc5e0c2d032ac791e66c788ffd0072.tar.gz sssd-ebfba7641dcc5e0c2d032ac791e66c788ffd0072.tar.xz sssd-ebfba7641dcc5e0c2d032ac791e66c788ffd0072.zip |
LDAP: Disable token groups by default
We tried to speed up processing of initgroup lookups with tokenGroups even for
the LDAP provider (if remote server is Active Directory), but it turns out that
there are too many corner cases that we didn't catch during development that
break. For instance, groups from other trusted domains might appear in TG and
the LDAP provider isn't equipped to handle them.
Overall, users who wish to use the added speed benefits of tokenGroups are
advised to use the AD provider.
Resolves:
https://fedorahosted.org/sssd/ticket/2483
Reviewed-by: Michal Židek <mzidek@redhat.com>
(cherry picked from commit 5febf5ed0cfb4ba7665d8c3e36ee6941988da773)
-rw-r--r-- | src/man/sssd-ldap.5.xml | 2 | ||||
-rw-r--r-- | src/providers/ldap/ldap_opts.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/man/sssd-ldap.5.xml b/src/man/sssd-ldap.5.xml index ecbf2f54c..557cafcb2 100644 --- a/src/man/sssd-ldap.5.xml +++ b/src/man/sssd-ldap.5.xml @@ -991,7 +991,7 @@ Active Directory Server 2008 and later. </para> <para> - Default: True + Default: True for AD and IPA otherwise False. </para> </listitem> </varlistentry> diff --git a/src/providers/ldap/ldap_opts.h b/src/providers/ldap/ldap_opts.h index 82d46e75d..83dae8514 100644 --- a/src/providers/ldap/ldap_opts.h +++ b/src/providers/ldap/ldap_opts.h @@ -114,7 +114,7 @@ struct dp_option default_basic_opts[] = { { "ldap_idmap_default_domain_sid", DP_OPT_STRING, NULL_STRING, NULL_STRING }, { "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_use_tokengroups", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE}, + { "ldap_use_tokengroups", 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 }, { "ldap_min_id", DP_OPT_NUMBER, NULL_NUMBER, NULL_NUMBER}, |