483b06
From de0ed1b49c84edebb65f31ff18e0b4bb4e0d794c Mon Sep 17 00:00:00 2001
483b06
From: Alexander Bokovoy <abokovoy@redhat.com>
483b06
Date: Wed, 24 May 2017 18:00:14 +0300
483b06
Subject: [PATCH] Fix index definition for ipaAnchorUUID
483b06
483b06
Fixes https://pagure.io/freeipa/issue/6975
483b06
483b06
Reviewed-By: Martin Basti <mbasti@redhat.com>
483b06
---
483b06
 install/updates/20-idoverride_index.update | 5 ++++-
483b06
 1 file changed, 4 insertions(+), 1 deletion(-)
483b06
483b06
diff --git a/install/updates/20-idoverride_index.update b/install/updates/20-idoverride_index.update
483b06
index bfc9c6e235fb7a4300fd755e53fc2154e01573a2..63d622f1f0fb7d6e49df7fde65a33bc21ab0c4a0 100644
483b06
--- a/install/updates/20-idoverride_index.update
483b06
+++ b/install/updates/20-idoverride_index.update
483b06
@@ -11,9 +11,12 @@ only: nsIndexType: eq
483b06
 only: nsIndexType: pres
483b06
 
483b06
 dn: cn=ipaAnchorUUID,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
483b06
-default:cn: ipaOriginalUid
483b06
+default:cn: ipaAnchorUUID
483b06
 default:ObjectClass: top
483b06
 default:ObjectClass: nsIndex
483b06
 default:nsSystemIndex: false
483b06
 only: nsIndexType: eq
483b06
 only: nsIndexType: pres
483b06
+
483b06
+dn: cn=ipaAnchorUUID,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
483b06
+remove:cn: ipaOriginalUid
483b06
-- 
483b06
2.9.4
483b06