Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Rename (Modify RDN)

The following parameters allow you to access an entry to rename through the parameter block.

Table 17–26 Rename (Modify RDN) Function Parameters

Parameter ID  

Data Type  

Description  

SLAPI_MODRDN_DELOLDRDN

int

Whether to delete the old Relative Distinguished Name (RDN). 

  • 0 false.

  • 1 true.

SLAPI_MODRDN_NEWRDN

char *

New RDN to assign to the entry. 

SLAPI_MODRDN_NEWSUPERIOR

char *

DN of the new parent of the entry being renamed. 

SLAPI_MODRDN_TARGET

char *

DN of the entry to rename. 

SLAPI_ORIGINAL_TARGET

char *

Non-normalized DN of the entry to rename.