![Netscape NETSCAPE DIRECTORY SERVER 6.2 - GATEWAY CUSTOMIZATION Manual Download Page 302](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-2-gateway-customization/netscape-directory-server-6-2-gateway-customization_manual_1674642302.webp)
Functions for Managing DNs
302
Netscape Directory Server Plug-In Programmer’s Guide • December 2003
Returns
This function returns one of the following values:
•
A non-zero value if
parentdn
is the parent of
childdn
.
•
0 if the
parentdn
is not the parent of
childdn
.
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
slapi_dn_normalize_case()
to
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:
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()
pb
Parameter block
dn
DN that you want to check.
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...