Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 261

Table of Contents

Advertisement

dn
Returns
This function returns one of the following values:
1 if the specified DN is the root DN of the local database.
0 if the specified DN is not the root DN of the local database.
See Also
slapi_dn_isbesuffix()
slapi_dn_issuffix()
Determines whether or not a DN is equal to the specified suffix. Before calling this
function, you should call
convert all characters to lowercase.
If you want to determine if a DN is the same as the suffix for the local database, call
the
slapi_dn_isbesuffix()
Syntax
#include "slapi-plugin.h"
int slapi_dn_issuffix( const char *dn, const char *suffix );
Parameters
This function takes the following parameters:
dn
suffix
Returns
This function returns one of the following values:
1 if the specified DN is the same as the specified suffix.
0 if the specified DN is not the same as the specified suffix.
See Also
slapi_dn_isparent()
DN that you want to check.
slapi_dn_normalize_case()
function instead.
DN that you want to check.
Suffix that you want compared against the DN.
Functions for Managing DNs
to normalize the DN and
Chapter 14
Function Reference
261

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents