Determines whether or not the specified distinguished name (DN) is the suffix of the local database. Before calling this function, you should call slapi_dn_normalize_case() to normalize the DN and convert all characters to lowercase.
#include "slapi-plugin.h" int slapi_dn_isbesuffix( Slapi_PBlock *pb, char *dn );
This function takes the following parameters:
Parameter block.
DN that you want to check.
This function returns 1 if the specified DN is the suffix for the local database, or 0 if the DN is not the suffix.