![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 340](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642340.webp)
Functions for Managing Entries
340
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
Parameters
This function takes the following parameters:
Returns
The function returns one of the following values:
•
0
if the entry complies with the schema or if schema checking is turned off. The
function also returns
0
if the entry has additional attributes not allowed by the
schema and has the object class
extensibleObject
.
•
1
if the entry is missing the
objectclass
attribute, if it is missing any required
attributes, if it has any attributes not allowed by the schema (but does not have
the object class
extensibleObject
), or if the entry has multiple values for a
single-valued attribute.
Memory Concerns
The
pb
argument can be
NULL
. It is only used to get the
SLAPI_IS_REPLACED_OPERATION
flag. If that flag is present, no schema checking is
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:
pb
Parameter block.
e
Entry of which you want to check the schema.
e
Entry to which you want to assign the DN.
dn
Distinguished name you want assigned to the entry.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION
Page 1: ...Plug In Programmer s Guide Netscape Directory Server Version6 2 December 2003...
Page 18: ...18 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 56: ...56 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 112: ...112 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 168: ...Plug In API Reference 168 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 170: ...170 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 600: ...600 Netscape Directory Server Plug In Programmer s Guide December 2003...
Page 612: ...612 Netscape Directory Server Plug In Programmer s Guide December 2003...