From 05da1f7f7fcfc3963f6d2764a192fb45e08f480b Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 14 Sep 2020 09:57:01 +0200 Subject: [PATCH] Add krbPrincipalName pres index correctly See: 20b55f4017ab42113f1ced829a4b4afa17839b55 See: https://pagure.io/freeipa/issue/8491 Signed-off-by: Christian Heimes Reviewed-By: Rob Crittenden --- install/share/indices.ldif | 1 + install/updates/20-indices.update | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/install/share/indices.ldif b/install/share/indices.ldif index f5c3829fc..1e83c1046 100644 --- a/install/share/indices.ldif +++ b/install/share/indices.ldif @@ -6,6 +6,7 @@ cn:krbPrincipalName nsSystemIndex:false nsIndexType:eq nsIndexType:sub +nsIndexType:pres nsMatchingRule:caseIgnoreIA5Match nsMatchingRule:caseExactIA5Match diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update index feb637a6b..65ee183a8 100644 --- a/install/updates/20-indices.update +++ b/install/updates/20-indices.update @@ -282,6 +282,7 @@ only: nsMatchingRule: caseIgnoreIA5Match only: nsMatchingRule: caseExactIA5Match only:nsIndexType: eq only:nsIndexType: sub +only:nsIndexType: pres dn: cn=krbCanonicalName,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config default: cn: krbCanonicalName @@ -409,10 +410,3 @@ default: objectClass: top default: objectClass: nsIndex default: nsSystemIndex: false default: nsIndexType: pres - -dn: cn=krbprincipalname,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config -default: cn: krbprincipalname -default: objectClass: top -default: objectClass: nsIndex -default: nsSystemIndex: false -default: nsIndexType: pres