Moving an entry within a PingDirectory server
Run the ldapmodify
tool to move an entry from one base distinguished name (DN) to another base DN.
Before you begin
-
Assign access control instructions (ACIs) on the parent entries.
-
The source parent entry must have an ACI that allows export operations:
allow(export)
. -
The target parent entry must have an ACI that allows import operations:
allow(import)
.
-
About this task
For more information on access control instructions, see Overview of access control.
Steps
-
To move an entry from one branch to another, run the
ldapmodify
tool.Example:
In this example, an entry moves from the
ou=contractors
branch to theou=People
branch.$ bin/ldapmodify dn: uid=user.14,ou=contractors,dc=example,dc=com changetype:moddn newrdn: uid=user.2014 deleteoldrdn: 0 newsuperior: ou=People,dc=example,dc=com
-
Specify the modification using
changetype:moddn
.