Determines if 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.
#include "slapi-plugin.h" int slapi_dn_isroot( 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 root DN of the local database, or 0 if the DN is not the root DN.