LDAP Move
Valve for renaming and moving entries in LDAP v3 directories
Introduction
Section titled “Introduction”Use this valve to rename (change RDN) and/or move entries.
When changing the entry RDN, flag remove must be set for the previous RDN attribute to be removed, otherwise the attribute will be kept and have both values (multi-value).
When moving an entry the new baseDN of the entry (i.e DN of destination container) must be supplied.
An entry can be moved and renamed in the same operation.
Prerequisites
Section titled “Prerequisites”Before using this valve the LdapClient module must be configured and deployed.
Configuration
Section titled “Configuration”Common LDAP valve configuration can be found here.
| Name | Description | Default | Mandatory | Expanded |
|---|---|---|---|---|
rdn | RDN of entry. | RDN of current item | ||
dest | New baseDN of entry. | |||
remove | Flag turning on removal of previous RDN attribute. | false |
{ "name" : "LDAPModifyDN", "config" : { "destination" : "default", "rdn" : "uid=userXX", "remove" : true, "dest" : "ou=trash,dc=example,dc=com" }}