pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone
Blob Blame History Raw
From de0ed1b49c84edebb65f31ff18e0b4bb4e0d794c Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <abokovoy@redhat.com>
Date: Wed, 24 May 2017 18:00:14 +0300
Subject: [PATCH] Fix index definition for ipaAnchorUUID

Fixes https://pagure.io/freeipa/issue/6975

Reviewed-By: Martin Basti <mbasti@redhat.com>
---
 install/updates/20-idoverride_index.update | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/install/updates/20-idoverride_index.update b/install/updates/20-idoverride_index.update
index bfc9c6e235fb7a4300fd755e53fc2154e01573a2..63d622f1f0fb7d6e49df7fde65a33bc21ab0c4a0 100644
--- a/install/updates/20-idoverride_index.update
+++ b/install/updates/20-idoverride_index.update
@@ -11,9 +11,12 @@ only: nsIndexType: eq
 only: nsIndexType: pres
 
 dn: cn=ipaAnchorUUID,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
-default:cn: ipaOriginalUid
+default:cn: ipaAnchorUUID
 default:ObjectClass: top
 default:ObjectClass: nsIndex
 default:nsSystemIndex: false
 only: nsIndexType: eq
 only: nsIndexType: pres
+
+dn: cn=ipaAnchorUUID,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+remove:cn: ipaOriginalUid
-- 
2.9.4