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 | |
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')
-rw-r--r-- | install/share/indices.ldif | 16 | ||||
-rw-r--r-- | install/updates/20-indices.update | 14 |
2 files changed, 30 insertions, 0 deletions
diff --git a/install/share/indices.ldif b/install/share/indices.ldif index 59936585c..1e1a5e9c7 100644 --- a/install/share/indices.ldif +++ b/install/share/indices.ldif @@ -192,3 +192,19 @@ ObjectClass: nsIndex nsSystemIndex: false nsIndexType: eq nsIndexType: pres + +dn: cn=automountkey,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +changetype: add +cn: automountkey +ObjectClass: top +ObjectClass: nsIndex +nsSystemIndex: false +nsIndexType: eq + +dn: cn=ipakrbprincipalalias,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +changetype: add +cn: ipakrbprincipalalias +ObjectClass: top +ObjectClass: nsIndex +nsSystemIndex: false +nsIndexType: eq 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 |