Renaming an entry - PingDirectory - 9.3

PingDirectory 9.3

bundle
pingdirectory-93
ft:publication_title
PingDirectory 9.3
Product_Version_ce
PingDirectory 9.3 (Latest)
category
Product
pd-93
pingdirectory
ContentType_ce

Rename an entry by changing the relative distinguished name (RDN) of an entry.

Note:

You cannot rename an RDN if it has children entries because this violates the LDAP protocol.

Run the ldapmodify tool to rename an entry.
  1. Run the changetype, newrdn, and deleteoldrdn directives.

The following command changes uid=user.14 to uid=user.2014 and uses the changetype, newrdn, and deleteoldrdn directives.

$ bin/ldapmodify
dn: uid=user.14,ou=People,dc=example,dc=com 
changetype:moddn 
newrdn: uid=user.2014 
deleteoldrdn: 1