Creates a new Slapi_RDN structure and sets an RDN value taken from a given DN.
#include "slapi-plugin.h" Slapi_RDN *slapi_rdn_new_dn(const char *dn);
This function takes the following parameter:
The DN value whose RDN will be used to initialize the new Slapi_RDN structure.
This function returns a pointer to the new Slapi_RDN structure initialized with the TDN taken from the DN value in dn .
This function creates a new Slapi_RDN structure and initializes its RDN with the value taken from the DN passed in the dn parameter.
The memory is allocated by the function itself.