diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-06-21 20:00:39 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-06-24 16:54:05 +0200 |
commit | 1190b58239b305d88f0937b5aadd8b7db47bc581 (patch) | |
tree | 3c0bd9228cc7030af531cf469ed71f42d927cf12 | |
parent | 0535ad2bee920be5c07ee207903c2196eb19c02f (diff) | |
download | sssd-1190b58239b305d88f0937b5aadd8b7db47bc581.tar.gz sssd-1190b58239b305d88f0937b5aadd8b7db47bc581.tar.bz2 sssd-1190b58239b305d88f0937b5aadd8b7db47bc581.zip |
IPA: Do not download or store the member attribute of host groups
https://fedorahosted.org/sssd/ticket/1806
The IPA provider attempted to store the original value of member
attribute to the cache. That caused the memberof plugin to process the
values which was really CPU intensive.
-rw-r--r-- | src/providers/ipa/ipa_common.h | 1 | ||||
-rw-r--r-- | src/providers/ipa/ipa_opts.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_common.h b/src/providers/ipa/ipa_common.h index b660e66e..01130c48 100644 --- a/src/providers/ipa/ipa_common.h +++ b/src/providers/ipa/ipa_common.h @@ -83,7 +83,6 @@ enum ipa_host_attrs { enum ipa_hostgroup_attrs { IPA_OC_HOSTGROUP = 0, IPA_AT_HOSTGROUP_NAME, - IPA_AT_HOSTGROUP_MEMBER, IPA_AT_HOSTGROUP_MEMBER_OF, IPA_AT_HOSTGROUP_UUID, diff --git a/src/providers/ipa/ipa_opts.h b/src/providers/ipa/ipa_opts.h index fe81ed11..6246f589 100644 --- a/src/providers/ipa/ipa_opts.h +++ b/src/providers/ipa/ipa_opts.h @@ -236,7 +236,6 @@ struct sdap_attr_map ipa_host_map[] = { struct sdap_attr_map ipa_hostgroup_map[] = { { "ipa_hostgroup_objectclass", "ipaHostgroup", SYSDB_HOSTGROUP_CLASS, NULL}, { "ipa_hostgroup_name", "cn", SYSDB_NAME, NULL}, - { "ipa_hostgroup_member", "member", SYSDB_MEMBER, NULL}, { "ipa_hostgroup_memberof", "memberOf", SYSDB_ORIG_MEMBEROF, NULL}, { "ipa_hostgroup_uuid", "ipaUniqueID", SYSDB_UUID, NULL}, SDAP_ATTR_MAP_TERMINATOR |