From 0f5cca0e45481520d25b20b48f939b2581f4d27b Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Tue, 7 Jun 2016 10:43:50 +0200 Subject: [PATCH] DNS Locations: add index for ipalocation attribute For performace ipalocation should be indexed because it is used by referint plugin https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek Reviewed-By: Jan Cholasta --- install/share/indices.ldif | 9 +++++++++ install/updates/20-indices.update | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/install/share/indices.ldif b/install/share/indices.ldif index 8c4913b56..4ea4a876d 100644 --- a/install/share/indices.ldif +++ b/install/share/indices.ldif @@ -258,3 +258,12 @@ ObjectClass: nsIndex nsSystemIndex: false nsIndexType: eq nsIndexType: pres + +dn: cn=ipalocation,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +changetype: add +cn: ipalocation +ObjectClass: top +ObjectClass: nsIndex +nsSystemIndex: false +nsIndexType: eq +nsIndexType: pres diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update index 9c12e0cb8..fe0845e98 100644 --- a/install/updates/20-indices.update +++ b/install/updates/20-indices.update @@ -231,3 +231,11 @@ default:ObjectClass: top default:ObjectClass: nsIndex only:nsIndexType: eq only:nsIndexType: pres + +dn: cn=ipalocation,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +default:cn: ipalocation +default:ObjectClass: top +default:ObjectClass: nsIndex +default:nsSystemIndex: false +only:nsIndexType: eq +only:nsIndexType: pres