Wow, today I learned a wonderful thing: the ldif syntax to rename an ldap/AD entry. If you want to rename "mario.rossi" with "Mario Rossi" you can do the following.
Wow, today I learned a wonderful thing: the ldif syntax to rename/move an ldap/AD entry.
E.g. If you want to rename "mario.rossi" with "Mario Rossi" you can do the following
dn: uid=mario.rossi,ou=people,o=isp
changetype: modrdn
newrdn: uid=Mario Rossi
deleteoldrdn: 1
But you can also move it by the following ldif.
dn: uid=mario.rossi,ou=people,o=isp
changetype: modrdn
newrdn: uid=Mario Rossi
deleteoldrdn: 1
newsuperior: ou=temp,o=isp