Show Table of Contents
8.5. dn2rdn
Versions of Directory Server older than 9.0 used a the
entrydn index to help map the entry IDs in the id2entry.db4 database to the full DNs of the entry. (One side effect of this was that modrdn operations could only be done on leaf entries, because there was no way to identify the children of an entry and update their DNs if the parent DN changed.) When subtree-level renames are allowed, then the ID-to-entry mapping is done using the entryrdn index with the id2entry.db4 database.
After an upgrade, instances of Directory Server may still be using the
entrydn index. The dn2rdn tool has one purpose: to convert the entry index mapping from a DN-based format to an RDN-based format, by converting the entrydn index to entryrdn.
Note
The
dn2rdn tool is in the /usr/lib[64]/dirsrv/slapd-instance directory, the instance server root, since it is always run on the local Directory Server instance.
dn2rdn does not have any options.
Examples
The dn2rdn tool takes no options, since it always converts the local entrydn index to entryrdn.
Example 8.17. Running dn2rdn
# /usr/lib[64]/dirsrv/slapd-instance/dn2rdn

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.