This function takes the following parameters:
Pointer to the Slapi_ValueSet structure containing the values of an attribute that stores passwords such as userpassword .
Pointer to the Slapi_Value structure containing the password to check.
For example, you can get this value from the SLAPI_BIND_CREDENTIALS parameter in the parameter block and create the Slapi_Value using slapi_value_init_berval().