Functions For Managing Dns - Netscape DIRECTORY SERVER 6.01 - PLUG-IN Manual

Table of Contents

Advertisement

Functions for Managing DNs

Returns
This function returns one of the following values:
0 for success; if
A non-zero value (error condition) if the presence of the role is undetermined.
slapi_register_role_check()
Allows registering of another function, other than the default, to use in
slapi_role_check()
Syntax
#include "slapi-plugin.h"
void slapi_register_role_check(roles_check_fn_type check_fn);
Parameters
This function takes the following parameter:
check_fn
Functions for Managing DNs
This section contains reference information on DN routines.
Table 14-25 DN Routines
Function
slapi_moddn_get_newdn()
slapi_sdn_add_rdn()
slapi_sdn_compare()
slapi_sdn_copy()
slapi_sdn_done()
slapi_sdn_dup()
slapi_sdn_free()
slapi_sdn_get_backend_parent()
404
Netscape Directory Server Plug-In Programmer's Guide • January 2002
is present in
role_dn
. It is strongly recommended that the default should be used.
Function for registering.
Description
Builds the new DN of an entry.
Adds the RDN contained in a Slapi_RDN structure to the DN contained
in a Slapi_DN structure.
Compares two DNs.
Copies a DN.
Clears a Slapi_DN structure.
Duplicates a Slapi_DN structure.
Frees a Slapi_DN structure.
Gets the DN of the parent within a specific backend.
,
entry_to_check
present
is set to 0.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents