Functions for Managing Entries
Description
This function generates an LDIF string value conforming to the following syntax:
dn: <dn>\n
[<attr>: <value>\n]*
For example:
dn: uid=jdoe, ou=People, o=example.com
cn: Jane Doe
sn: Doe
...
To convert an entry described in LDIF string format to an LDAP entry using the
Slapi_Entry
Memory Concerns
When you no longer need to use the string, you should free it from memory by
calling the
See Also
slapi_entry2str()
slapi_str2entry()
slapi_entry_add_rdn_values()
Adds the components in an entry's relative distinguished name (RDN) to the entry
as attribute values. (For example, if the entry's RDN is
adds
Syntax
#include "slapi-plugin.h"
int slapi_entry_add_rdn_values( Slapi_Entry *e );
Parameters
This function takes the following parameter:
e
Returns
This function returns one of the following values:
312
Netscape Directory Server Plug-In Programmer's Guide • December 2003
data type, call the
slapi_ch_free()
to the entry as an attribute value.)
uid=bjensen
Entry to which you want to add the RDN attributes.
slapi_str2entry()
function.
function.
, the function
uid=bjensen
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers