diff options
author | Martin Kosek <mkosek@redhat.com> | 2012-09-25 17:16:20 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-10-01 22:37:59 -0400 |
commit | 0e432d33fc4123d70c320c66f00cd7a0082de163 (patch) | |
tree | 3bd20a88c9805759b9600185e8ec5056eb30548f /install/updates/20-indices.update | |
parent | 1a740176ca43d7cfd2647e6a96385772ee940b91 (diff) | |
download | freeipa-0e432d33fc4123d70c320c66f00cd7a0082de163.tar.gz freeipa-0e432d33fc4123d70c320c66f00cd7a0082de163.tar.xz freeipa-0e432d33fc4123d70c320c66f00cd7a0082de163.zip |
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
Diffstat (limited to 'install/updates/20-indices.update')
-rw-r--r-- | install/updates/20-indices.update | 14 |
1 files changed, 14 insertions, 0 deletions
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 |