24.46. slapi_entry_set_uniqueid()
This function replaces the unique ID value of the entry with the uniqueid value that you specify. In addition, the function adds SLAPI_ATTR_UNIQUEID to the attribute list and gives it the unique ID value supplied. If the entry already contains a SLAPI_ATTR_UNIQUEID attribute, its value is updated with the new value supplied.
#include "slapi-plugin.h" void slapi_entry_set_uniqueid( Slapi_Entry *e, char *uniqueid );
This function takes the following parameters:
|
e
| Entry for which you want to generate a description. |
|
uniqueid
| The unique ID value to which you want to assign the entry. |
Do not free the uniqueid after calling this function. The value will eventually be freed when slapi_entry_free() is called.
char *uniqueid = slapi_ch_strdup(some_uniqueid); slapi_entry_set_uniqueid(e, uniqueid);
NULL for uniqueid.

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.