Netscape DIRECTORY SERVER 6.2 - PLUG-IN Manual page 340

Table of Contents

Advertisement

Functions for Managing Entries
Parameters
This function takes the following parameters:
pb
e
Returns
The function returns one of the following values:
0
function also returns
schema and has the object class
1
attributes, if it has any attributes not allowed by the schema (but does not have
the object class
single-valued attribute.
Memory Concerns
The
pb
SLAPI_IS_REPLACED_OPERATION
done.
slapi_entry_set_dn()
Sets the distinguished name (DN) of an entry.
Syntax
#include "slapi-plugin.h"
void slapi_entry_set_dn( Slapi_Entry *e, char *dn );
Parameters
This function takes the following parameters:
e
dn
340
Netscape Directory Server Plug-In Programmer's Guide • December 2003
Parameter block.
Entry of which you want to check the schema.
if the entry complies with the schema or if schema checking is turned off. The
0
if the entry is missing the
extensibleObject
argument can be
NULL
Entry to which you want to assign the DN.
Distinguished name you want assigned to the entry.
if the entry has additional attributes not allowed by the
extensibleObject
attribute, if it is missing any required
objectclass
), or if the entry has multiple values for a
. It is only used to get the
flag. If that flag is present, no schema checking is
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.2

Table of Contents