URL: https://github.com/freeipa/freeipa/pull/822
Author: abbra
 Title: #822: Fix index definition for ipaAnchorUUID
Action: opened

PR body:
"""
Fixes https://pagure.io/freeipa/issue/6975
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/822/head:pr822
git checkout pr822
From e2432de82e8b9f382d884896e3e580678ff5e42e Mon Sep 17 00:00:00 2001
From: Alexander Bokovoy <aboko...@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
---
 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 bfc9c6e235..63d622f1f0 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
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to