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:55:38 +0200 |
commit | e7769aa7ec5dc0efd8aa8e71504f680adc2517cf (patch) | |
tree | f554a3f363bf3be361fb66abfe43c5d8aa5ab7fd /src/providers/ipa | |
parent | ab4c0508e9a298db78c72bf4b586704d6e97697d (diff) | |
download | sssd-e7769aa7ec5dc0efd8aa8e71504f680adc2517cf.tar.gz sssd-e7769aa7ec5dc0efd8aa8e71504f680adc2517cf.tar.xz sssd-e7769aa7ec5dc0efd8aa8e71504f680adc2517cf.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.
Diffstat (limited to 'src/providers/ipa')
-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 88728133f..329306ef3 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 ff161689e..07960c90d 100644 --- a/src/providers/ipa/ipa_opts.h +++ b/src/providers/ipa/ipa_opts.h @@ -224,7 +224,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 |