From 0e432d33fc4123d70c320c66f00cd7a0082de163 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Tue, 25 Sep 2012 17:16:20 +0200 Subject: Index ipakrbprincipalalias and ipaautomountkey attributes An unindexed search for ipakrbprincipalalias is fired for every ipa command (and other authentication events) which would degrade IPA server performance if not indexed. ipaautomountkey unindexed searches are hit when new key entries are being added. Add both indexes to new and updated IPA installs. https://fedorahosted.org/freeipa/ticket/3020 https://fedorahosted.org/freeipa/ticket/3025 --- install/updates/20-indices.update | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'install/updates') diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update index 80ac66c8a..323fb9cc8 100644 --- a/install/updates/20-indices.update +++ b/install/updates/20-indices.update @@ -116,3 +116,17 @@ default:ObjectClass: nsIndex default:nsSystemIndex: false default:nsIndexType: eq default:nsIndexType: pres + +dn: cn=automountkey,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +default:cn: automountkey +default:ObjectClass: top +default:ObjectClass: nsIndex +default:nsSystemIndex: false +default:nsIndexType: eq + +dn: cn=ipakrbprincipalalias,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +default:cn: ipakrbprincipalalias +default:ObjectClass: top +default:ObjectClass: nsIndex +default:nsSystemIndex: false +default:nsIndexType: eq -- cgit