#include <ldap.h> char *ldap_err2string( int error)
The ldap_err2string() function is used to retrieve the text description corresponding to an LDAP error code.
The text description returned will be provided in English only.
The string returned from ldap_err2string() should not be freed when use of the string is complete.
No i5/OS authority is required.
The ldap_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_err2string API. |
Top | LDAP APIs | APIs by category |