39.35. slapi_sdn_set_rdn()
This function sets a new RDN for a given entry. This is done by retrieving the DN of the entry's parent of the origin DN of the entry and then adding it to the RDN (the value of rdn) to it.
#include "slapi-plugin.h" Slapi_DN *slapi_sdn_set_rdn(Slapi_DN *sdn, const Slapi_RDN *rdn);
This function takes the following parameters:
|
sdn
| The Slapi_DN structure containing the DN of the entry. |
|
rdn
| The new RDN. |
This function returns a pointer to the Slapi_DN structure that keeps the DN of the entry after the new RDN has been set.

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.