Patch fixes wrong value for ntUserDomainId and ntUniqueId indicies.
Patch attached.
--
Martin Basti
From a57fb68c3c8b234bff7df2febe5c0919c2abfdb4 Mon Sep 17 00:00:00 2001
From: Martin Basti
Date: Fri, 26 Jun 2015 17:14:41 +0200
Subject: [PATCH] Fix indicies ntUserDomainId, ntUniqueId
ntUserDomainId and ntUniqueId contained "eq,pres" index value, which is
not valid.
---
install/share/indices.ldif| 6 --
install/updates/20-indices.update | 14 ++
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/install/share/indices.ldif b/install/share/indices.ldif
index 448875dead0486c3fd12b144df96b5d27ee55dfe..8c4913b569eb8be740090e1665349608be4ae932 100644
--- a/install/share/indices.ldif
+++ b/install/share/indices.ldif
@@ -89,12 +89,14 @@ nsMatchingRule: integerOrderingMatch
dn: cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
changetype: modify
replace: nsIndexType
-nsIndexType: eq,pres
+nsIndexType: eq
+nsIndexType: pres
dn: cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
changetype: modify
replace: nsIndexType
-nsIndexType: eq,pres
+nsIndexType: eq
+nsIndexType: pres
dn: cn=fqdn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
changetype: add
diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update
index d65905e184587e375ab22757b984524650ba3c21..9c12e0cb804066feaa7e9e3f93a06018a8d43ddd 100644
--- a/install/updates/20-indices.update
+++ b/install/updates/20-indices.update
@@ -217,3 +217,17 @@ default:ObjectClass: nsIndex
only:nsSystemIndex: false
only:nsIndexType: eq
only:nsIndexType: pres
+
+dn: cn=ntUniqueId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: ntUniqueId
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+only:nsIndexType: eq
+only:nsIndexType: pres
+
+dn: cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: ntUserDomainId
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+only:nsIndexType: eq
+only:nsIndexType: pres
--
2.4.3
--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code