24.32. slapi_entry_get_dn()
#include "slapi-plugin.h" char *slapi_entry_get_dn( Slapi_Entry *e );
This function takes the following parameter:
|
e
| Entry from which you want to get the DN. |
This function returns the DN of the entry. This returns a pointer to the actual DN in the entry, not a copy of the DN. You should not free the DN unless you plan to replace it by calling slapi_entry_set_dn().
Use slapi_ch_free() if you are replacing the DN with slapi_entry_set_dn().

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.