LDIF Sort Tools


LDIF Sort Tools are very handy and we often need them to be able to re-import an LDIF file.

There are several LDAP Server Implementation Vendors who have these tools, but finding them in the Public Domain seems difficult.

SUN's LDIF Transformation Tool#

Can no longer find the SUN's LDIF Transformation Tool


Our good friends at Optimal IdM provided a "LdifSort.exe" file, but we can no longer find the tool on the Internet. Ldifsort is used to sort an ldif file so that the parent object is defined before its children. This will allow and import to run successfully.
  • Normal Usage
    Example LdifSort <NAMEOFFILE>
    Result: a sorted file named <NAMEOFFILE_SORTED>
  • - version (lowercase) Returns the version of the exe.
  • - r
    Performs a reverse sort of the LDIF which is useful for delete operations where all child entries will be deleted first then the parents can be deleted.
    Result: a sorted file named <NAMEOFFILE_SORTED>

More Information#

There might be more information for this subject on one of the following: