Functions for Managing Entries
A copy of
char *dn = slapi_ch_strdup(some_dn):
slapi_entry_set_dn(e, dn);
The old
See Also
slapi_entry_free()
slapi_entry_get_dn()
slapi_entry_set_sdn()
Sets the
Syntax
#include "slapi-plugin.h"
void slapi_entry_set_sdn( Slapi_Entry *e,
const Slapi_DN *sdn );
Parameters
This function takes the following parameters:
e
sdn
Description
This function sets the value for the
Memory Concerns
This function makes a copy of the
slapi_entry_set_uniqueid()
Replaces the unique ID value of an entry with the unique ID value that you supply.
298
Netscape Directory Server Plug-In Programmer's Guide • January 2002
should be passed, for example:
dn
will be freed as a result of this call. Do not pass in a
dn
value in an entry.
Slapi_DN
Entry to which you want to set the value of the Slapi_DN.
The specified Slapi_DN value that you want to set.
object in the entry you specify.
Slapi_DN
argument.
sdn
value.
NULL
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN and is the answer not in the manual?
Questions and answers