39.4. slapi_moddn_get_newdn()
This function is used for moddn operations and builds a new DN out of a new RDN and the DN of the new parent.
NULL, and will otherwise be taken from dn_olddn by removing the old RDN (the parent of the entry will still be the same as the new DN).
#include "slapi-plugin.h" char * slapi_moddn_get_newdn(Slapi_DN *dn_olddn, char *newrdn, char *newsuperiordn);
This function takes the following parameters:
|
dn_olddn
| The old DN value. |
|
newrdn
| The new RDN value. |
|
newsuperordn
| If not NULL, will be the DN of the future superior entry of the new DN, which will be worked out by adding the value in newrdn in front of the content of this parameter. |
This function returns the new DN for the entry whose previous DN was dn_olddn .

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.