#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 OS/400 authority is required. All authority checking is done by the LDAP server.
ldap_err2string() will return "Unknown Error" message 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 set from this function.
CPF3CF2 E Error(s) occurred during running of ldap_err2string API.
ldap_get_errno() -- Retrieve Error Code set.
ldap_perror() -- Print an LDAP error indication to standard error.
ldap_result2error() -- Extract LDAP error indication from LDAP result.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |