You can modify an entry in the directory using the ldapmodify or ldapmodrdn command.
to modify the attributes in a single entry, by specifying the modification on the command line
to modify multiple entries, by specifying a file containing entry modification information
See the ldapmodify(1) man page for details of how to use ldapmodify. You can use dsimport with the -n option to create an LDIF file suitable for use with ldapmodify.
Use ldapmodrdn(1) to modify the naming attribute of an entry. Changing the naming attribute changes the distinguished name of the entry. See the ldapmodrdn(1) man page for details of how to use ldapmodrdn.