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