This function determines whether the value of the RDN complies with attribute syntax rules.
#include "slapi-plugin.h" int slapi_rdn_syntax_check( Slapi_PBlock *pb, const char *rdn );
This function takes the following parameters:
Value whose compliance is to be checked.
Returns one of the following values:
0 if rdn complies or if syntax checking is turned off.
1 if rdn does not comply with attribute syntax rules.
The pb argument can be NULL. It is used only to get the SLAPI_IS_REPLICATED_OPERATION flag. If that flag is present, no syntax checking is done.