Red Hat DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS Manual page 324

Table of Contents

Advertisement

Functions for Managing Entries
The Options Parameter
You can
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.
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, dc=example,dc=com
cn: Jane Doe
sn: Doe
...
To convert an entry described in LDIF string format to an LDAP entry using the
Slapi_Entry
322
Red Hat Directory Server Plug-in Programmer's Guide • May 2005
together any of the following options when you call this function:
OR
if an error occurs.
data type, call the
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()
function.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 7.1

Table of Contents