Re: [Freeipa-devel] [PATCH 0267] Fix broken indicies

2015-06-29 Thread Tomas Babej


On 06/29/2015 01:23 PM, Martin Babinsky wrote:
> On 06/26/2015 05:50 PM, Martin Basti wrote:
>> Patch fixes wrong value for ntUserDomainId and ntUniqueId indicies.
>>
>> Patch attached.
>>
>>
>>
> ACK
> 

Pushed to master: 16f47ed4520d4f89db39d1dc58be7a8efb1d8612

-- 
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


Re: [Freeipa-devel] [PATCH 0267] Fix broken indicies

2015-06-29 Thread Martin Babinsky

On 06/26/2015 05:50 PM, Martin Basti wrote:

Patch fixes wrong value for ntUserDomainId and ntUniqueId indicies.

Patch attached.




ACK

--
Martin^3 Babinsky

--
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


[Freeipa-devel] [PATCH 0267] Fix broken indicies

2015-06-26 Thread Martin Basti

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