directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Commented] (DIRSTUDIO-801) Allow sorting of LDIF files when Exporting and/or Importing
Date Tue, 22 May 2012 23:04:41 GMT


Emmanuel Lecharny commented on DIRSTUDIO-801:

Regarding DN ordering :
- first of all, the RDN must be ordered, which means we must be able to order the single elements
in a RDN. That mens we do have an ORDERING matching rule associated with teh AttributeType,
which is not always the case. Then you have to decide how composed RDN should be ordered.
Last, not least, all of the AVAs in a RDN must have a ORDERING MatchingRule
- second, if we want to order the DN itself, beside the RDN, then we have to propagate those
rules all along the DN's RDNs
- third, the client must be schema aware, otherwise the client will have no idea on how to
apply the MatchingRules it does not have access to

Regarding the memory consumption : if you have millions of entries to sort, then it will not
only eat a hell lot of memory, but it will be time consuming : comparing DN is not a free
operation. If you add that you'll probably have to store on a local disk the entries, then
you add some extra complexity.

Sorting data is really far from being obvious in LDAP...

The SORT control is not yet implemented in ApachDS for the exact same reasons. As 2.0 is not
out yet, and as we already have a lot in our plate to get it ready, frankly, we prefer focusing
on the missing critical features atm... Sorry for that !
> Allow sorting of LDIF files when Exporting and/or Importing
> -----------------------------------------------------------
>                 Key: DIRSTUDIO-801
>                 URL:
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-ldapbrowser
>    Affects Versions: 2.0.0-M3
>            Reporter: Jim Willeke
>            Priority: Minor
> When exporting to LDIF the entries may or may not be in the proper order for importing.
> A nice feature would be to sort the entries in a "parent-first" fashion so when importing
the Parents would always be in the file before any of the children.
> This could be done on an export or perhaps an import also.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message