summaryrefslogtreecommitdiffstats
path: root/install/share
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2016-07-22 13:02:38 +0200
committerMartin Basti <mbasti@redhat.com>2016-07-27 19:25:29 +0200
commit807702c986976ade8005ec344fcd827f70b2ba2f (patch)
tree30722a9b807c7861b1c220a0aef9bc95822a934f /install/share
parent41ace68e0420fc731c0005ee01a839bc6a7fd995 (diff)
downloadfreeipa-807702c986976ade8005ec344fcd827f70b2ba2f.tar.gz
freeipa-807702c986976ade8005ec344fcd827f70b2ba2f.tar.xz
freeipa-807702c986976ade8005ec344fcd827f70b2ba2f.zip
Create indexes for krbCanonicalName attribute
krbCanonicalName is for a long time among the attributes guarded by uniqueness plugins, but there was never an index for it. Now that the attribute is really used to store canonical principal names we need to add index for it to avoid performance regressions. https://fedorahosted.org/freeipa/ticket/6100 Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
Diffstat (limited to 'install/share')
-rw-r--r--install/share/indices.ldif9
1 files changed, 9 insertions, 0 deletions
diff --git a/install/share/indices.ldif b/install/share/indices.ldif
index 642c2f7ae..d85326602 100644
--- a/install/share/indices.ldif
+++ b/install/share/indices.ldif
@@ -269,3 +269,12 @@ ObjectClass: nsIndex
nsSystemIndex: false
nsIndexType: eq
nsIndexType: pres
+
+dn: cn=krbCanonicalName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+changetype: add
+cn: krbCanonicalName
+objectClass: top
+objectClass: nsIndex
+nsSystemIndex: false
+nsIndexType: eq
+nsIndexType: sub