Functions for Managing DNs
Chapter
15
Function Reference
301
Syntax
#include “slapi-plugin.h”
int slapi_dn_isbesuffix( 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 suffix for the local database.
•
0 if the specified DN is not the suffix for the local database.
See Also
slapi_dn_isroot()
slapi_dn_isparent()
Determines whether or not a particular DN is the parent of another specified DN.
Before calling this function, you should call
slapi_dn_normalize_case()
to
normalize the DNs and convert all characters to lowercase.
Syntax
#include “slapi-plugin.h”
int slapi_dn_isparent( const char *parentdn, char *childdn );
Parameters
This function takes the following parameters:
pb
Parameter block.
dn
DN that you want to check.
parentdn
Determine if this DN is the parent of
childdn
.
childdn
Determine if this DN is the child of
parentdn
.
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...