24.3. slapi_entry_add_rdn_values()
uid=bjensen, the function adds uid=bjensen to the entry as an attribute value.)
#include "slapi-plugin.h" int slapi_entry_add_rdn_values( Slapi_Entry *e );
This function takes the following parameter:
|
e
| Entry to which you want to add the RDN attributes. |
This function returns one of the following values:
LDAP_SUCCESSif the values were successfully added to the entry. The function also returnsLDAP_SUCCESSif the entry isNULL, if the entry's DN isNULL, or if the entry's RDN isNULL.LDAP_INVALID_DN_SYNTAXif the DN of the entry cannot be parsed.
Free the entry from memory by using the slapi_ch_free() function, if the entry was allocated by the user.

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.