#include <ldap.h> char *ldap_pwdpolicy_err2string( int err)
The ldap_pwdpolicy_err2string() function is used to convert a numeric LDAP password policy error or warning code, as returned by ldap_parse_pwdpolicy_response(), into a NULL-terminated character string that describes the error or warning. The character string is returned as static data and must not be freed by the caller.
The text description returned will be provided in English only.
No i5/OS authority is required..
The ldap_pwdpolicy_err2string() API will return "Unknown Error" if the LDAP error code is unknown. See LDAP Client API Error Conditions for possible LDAP error codes and their description.
The following message may be sent from this function.
Message ID | Error Message Text |
---|---|
CPF3CF2 E | Error(s) occurred during running of ldap_pwdpolicy_err2string API. |
Top | LDAP APIs | APIs by category |