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.

Table 1. Parameters for the database modify RDN 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 delete 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.