This function takes the following parameters:
Pointer to the array of Slapi_Value structure pointers to hold the values of an attribute that stores passwords such as userpassword.
Pointer to the Slapi_Value structure containing the password that you wish 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().