7e1b55
From b132956e42a88ab39bb8d6a854e7c5d28d544a11 Mon Sep 17 00:00:00 2001
7e1b55
From: Florence Blanc-Renaud <flo@redhat.com>
7e1b55
Date: Fri, 16 Jul 2021 09:43:54 +0200
7e1b55
Subject: [PATCH] Index: Fix definition for memberOf
7e1b55
7e1b55
The index definition for memberOf is inconsistent:
7e1b55
7e1b55
dn: cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
7e1b55
cn: member
7e1b55
nsIndexType: eq
7e1b55
nsIndexType: sub
7e1b55
nsSystemIndex: false
7e1b55
objectClass: top
7e1b55
objectClass: nsIndex
7e1b55
7e1b55
The cn attribute should be memberOf, not member. Fix the definition.
7e1b55
7e1b55
Fixes: https://pagure.io/freeipa/issue/8920
7e1b55
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
7e1b55
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
7e1b55
---
7e1b55
 install/updates/20-indices.update | 2 +-
7e1b55
 1 file changed, 1 insertion(+), 1 deletion(-)
7e1b55
7e1b55
diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update
7e1b55
index d6df5b37d..cb1a11dd5 100644
7e1b55
--- a/install/updates/20-indices.update
7e1b55
+++ b/install/updates/20-indices.update
7e1b55
@@ -434,7 +434,7 @@ add:nsIndexType: eq
7e1b55
 add:nsIndexType: pres
7e1b55
 
7e1b55
 dn: cn=memberOf,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
7e1b55
-only:cn: member
7e1b55
+only:cn: memberOf
7e1b55
 add:nsIndexType: sub
7e1b55
 
7e1b55
 dn: cn=memberPrincipal,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
7e1b55
-- 
7e1b55
2.26.3
7e1b55