24.44. slapi_entry_set_dn()
This function sets the DN pointer in the specified entry to the DN that you supply.
#include "slapi-plugin.h" void slapi_entry_set_dn( Slapi_Entry *e, Slapi_DN *dn );
This function takes the following parameters:
|
e
| Entry to which you want to assign the DN. |
|
dn
| Distinguished name to assign to the entry. |
The dn will be freed eventually when slapi_entry_free() is called.
Slapi_DN *dn = slapi_ch_strdup(some_dn): slapi_entry_set_dn(e, dn);
NULL value.

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.