summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-09-25 17:16:20 +0200
committerRob Crittenden <rcritten@redhat.com>2012-10-01 22:38:14 -0400
commit1f60d17e954d70a39f1022f50ff292ff22a6b00d (patch)
tree3339515df8ad33fa27f6d88ccc293b8e2480b7ff /install
parentc398d0b731344ca0106b169a3ea58e3b4c9fc711 (diff)
downloadfreeipa.git-1f60d17e954d70a39f1022f50ff292ff22a6b00d.tar.gz
freeipa.git-1f60d17e954d70a39f1022f50ff292ff22a6b00d.tar.xz
freeipa.git-1f60d17e954d70a39f1022f50ff292ff22a6b00d.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.ldif16
-rw-r--r--install/updates/20-indices.update14
2 files changed, 30 insertions, 0 deletions
diff --git a/install/share/indices.ldif b/install/share/indices.ldif
index 59936585..1e1a5e9c 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 80ac66c8..323fb9cc 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