[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Export issue after an DN change
- To: openldap-technical@openldap.org
- Subject: Export issue after an DN change
- From: mdii <mdii.alias@gmail.com>
- Date: Fri, 22 Apr 2016 15:57:15 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=y3AMoBSUG874ArZtVlbfteCtRbcSdbVO6OYjfGFmVIA=; b=VLOQGlR8mcs6bZ//t+ic5uEUb7mOqvhew1MRvFc9h/ROKZLFLjHTVtjFuB/XkyoONR JJaeC/ie4K84nFqW9ZqNXXOAtvMxYpBvEME2LIYVoomZctKEn/+qqUZR56HW/oO7owzm HNivxWe9J2WyWobJw9YEgF0kJiDzrcXfGQn40ZQ6FotRgUm/prpKm+rgjvbdILLV+3q7 eTBpxwh9cWsm+Jp2tkz0VSGxjmb+N7Ge0jStPI+1uohriAj+J6gUEmZkqObHm1IsvSYw +w2WHfjv/JRQ76dWc0iXCSisBJrPKt4HNuqfRu0hrc6dvfKkq2G3pB4hEz39ZljOoMV3 Yiig==
I'm having a weird issue with my OpenLDAP directory, maybe some of you
had a similar issue in the past and can point me in the right direction,
at the moment I have no idea where to start looking...
In my
directory, the entities are listed in the ou=organisation branch, where
the key is the entity label and they have a hierarchic structure, for
example:
- ou=organisation
- ou=entity1,ou=organisation
- ou=entity2,ou=entity1,ou=organisation
- ou=entity3,ou=entity1,ou=organisation
- ou=entity4,=entity3,ou=entity1,ou=organisation
- ou=entity5,ou=organisation
- ...
The issue appears when there is a label change in one of the entities. In this example I will change entity3 by entity33:
- ou=organisation
- ou=entity1,ou=organisation
- ou=entity2,ou=entity1,ou=organisation
- ou=entity33,ou=entity1,ou=organisation
- ou=entity4,=entity33,ou=entity1,ou=organisation
- ou=entity5,ou=organisation
- ...
When I'm using a directory browser, let's say ApacheDS, I have no trouble, I can see the entire directory tree (as above).
My issue is the following:
- If I do a LDIF export (using the same ApacheDS), it doesn't export the entity4 entry (or any other entity under entity33)
-
If I do a Java application that uses a LDAP framework (Spring or
UnboundID in my case), I have the same problem, it doesn't see the
entity4 entry
- I can do an entity4 LDIF export, it works well
Meanwhile there is a solution to this issue. If I do the series of operations:
- LDIF export of entity4
- LDIF export of entity33
- LDIF export of entity1
- suppression of entity33 (witch includes all entries under it)
- Import of entity1
- Import of entity33
- Import of entity4
Once these operations completed, everything goes normal and entity4 will be exported when I do an entity33 LDIF export.
One
last detail, when I enter the enterprise, the issue was known, and it
was told me to export the parent entity of the one that had the label
change, that’s why I do the enetity1 export/suppression/import (not only
the entity33).
Do you have any idea of what's going on? At
the moment I have no idea where to start looking at, if I can change
some settings or if it's an OpenLDAP know bug.
I would like to thank you in advance for any help,
Best regards,
Marc