| Send us your feedback |
ldapmoddn |
|||||||||
|
Managing Content: ldapmoddn Prerequisites The initial.ldif file should be loaded Changing the RDN value of an entry ldapmoddn -p 4032 -h localhost -D cn=orcladmin -w welcome1 -b "cn=dcp1, dc=Americas, dc=IMC, dc=com" -R "cn=thanh mai" This example modifies the RDN component of the DN from "cn=dcp1" to cn=thanh mai". Changing the DN value of an entry ldapmoddn -p 4032 -h localhost -D cn=orcladmin -w welcome1 -b "cn=Linda Ball, ou=Treasury, ou=Fin-Accounting, ou=Europe, o=IMC, c=US" -R "cn=Linda Ball" -N "dc=imc, dc=com" This example modifies the DN of a leaf level entry. The directory entry of "cn=Linda Ball" is moved under a new parent directory of "dc=imc,dc=com". After this modification is made the DN for "cn=Linda Ball" is change to "cn=Linda Ball,dc=imc,dc=com" from "cn=Linda Ball,ou=Treasury, ou=Fin-Accounting, ou=Europe, o=IMC, c=US". |
||||||||||