Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 269

Table of Contents

Advertisement

The Options Parameter
You can
together any of the following options when you call this function:
OR
Flag Value
SLAPI_DUMP_STATEINFO
SLAPI_DUMP_UNIQUEID
SLAPI_DUMP_NOOPATTRS
SLAPI_DUMP_NOWRAP
Returns
This function returns one of the following values:
The LDIF string representation of the entry you specify.
if an error occurs.
NULL
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
data type, call the
Slapi_Entry
Description
This is only used internally by replication. This
allows access to the internal data used by
multi-master replication.
This option is used when creating an LDIF file to
be used to initialize a replica. Each entry will
contain the nsuniqueID operational attribute.
By default, certain operational attributes (such as
creatorName, modifiersName,
createTimestamp, modifyTimestamp) may be
included in the output. With this option, no
operational attributes will be included.
By default, lines will be wrapped as defined in the
LDIF specification. With this option, line
wrapping is disabled.
slapi_str2entry()
Chapter 14
Functions for Managing Entries
function.
Function Reference
269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents