Chapter 61. Parameters for the Modify RDN Function

The following table lists the parameters in the parameter block passed to the database modify RDN function. If you are writing a pre-operation, database, or post-operation modify RDN function, you can get these values by calling the slapi_pblock_get() function.
Parameter ID Data Type Description
SLAPI_MODRDN_TARGET char * DN of the entry that you want to rename.
SLAPI_MODRDN_NEWRDN char * New RDN to assign to the entry.
SLAPI_MODRDN_DELOLDRDN int Specifies whether you want to deleted the old RDN. 0 means do not delete the old RDN; 1 means delete the old RDN.
SLAPI_MODRDN_NEWSUPERIOR char * DN of the new parent of the entry, if the entry is being moved to a new location in the directory tree.
SLAPI_MODRDN_EXISING_ENTRY Slapi_Entry * Internal only; used by the multi-master replication update resolution code. If the destination RDN of the modrdn already exists, this is that entry.
SLAPI_MODRDN_PARENT_ENTRY Slapi_Entry * Internal use only; used by the multi-master replication update resolution procedure code. This is the parent entry.
SLAPI_MODRDN_NEWPARENT_ENTRY Slapi_Entry * Internal only; used by the multi-master replication update resolution procedure code. This is the new parent entry.
SLAPI_MODRDN_TARGET_ENTRY Slapi_Entry * Internal only; used by the multi-master replication update resolution procedure code.
SLAPI_MODRDN_NEWSUPERIOR_ADDRESS void * Internal only; used by the multi-master replication update resolution procedure code.
See Section 7.8, “Processing an LDAP Modify RDN Operation”, for more information on these parameters.