entrydnindex to help map the entry IDs in the
id2entry.db4database 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
entryrdnindex with the
dn2rdntool has one purpose: to convert the entry index mapping from a DN-based format to an RDN-based format, by converting the
dn2rdntool is in the
/usr/sbin/directory, since it is always run on the local Directory Server instance.
dn2rdndoes not have any options.
-Z instance_name, the
dn2rdn tool takes no options, since it always converts the local
entrydn index to
# dn2rdn -Z instance_name