Functions for Managing DNs
Returns
This function returns one of the following values:
•
A non-zero value if
•
0 if the
See Also
slapi_dn_issuffix()
slapi_dn_isroot()
Determines whether or not the specified DN is the root DN for this local database.
Before calling this function, you should call
normalize the DN and convert all characters to lowercase.
Syntax
#include "slapi-plugin.h"
int slapi_dn_isroot( Slapi_PBlock *pb, char *dn );
Parameters
This function takes the following parameters:
pb
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()
302
Netscape Directory Server Plug-In Programmer's Guide • December 2003
parentdn
is not the parent of
parentdn
Parameter block
DN that you want to check.
is the parent of
childdn
.
childdn
slapi_dn_normalize_case()
.
to
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - PLUG-IN and is the answer not in the manual?
Questions and answers