summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-06-21 20:00:39 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-24 16:54:05 +0200
commit1190b58239b305d88f0937b5aadd8b7db47bc581 (patch)
tree3c0bd9228cc7030af531cf469ed71f42d927cf12
parent0535ad2bee920be5c07ee207903c2196eb19c02f (diff)
downloadsssd-1190b58239b305d88f0937b5aadd8b7db47bc581.tar.gz
sssd-1190b58239b305d88f0937b5aadd8b7db47bc581.tar.xz
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.h1
-rw-r--r--src/providers/ipa/ipa_opts.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_common.h b/src/providers/ipa/ipa_common.h
index b660e66e2..01130c48c 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 fe81ed115..6246f589f 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