Skip to content
Snippets Groups Projects
Commit 3c415e08 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Refer to ldap_get/set_option, not ld_errno

parent 847f0f5b
No related branches found
No related tags found
No related merge requests found
......@@ -19,10 +19,15 @@ void ldap_perror( LDAP *ld, const char *s )
int ldap_result2error( LDAP *ld, LDAPMessage *res, int freeit )
.SH DESCRIPTION
These routines provide interpretation of the various error codes
returned by the LDAP protocol and LDAP library routines, and assigned
to the
.I ld_errno
field in the \fIld\fP structure.
returned by the LDAP protocol and LDAP library routines or associated
with an LDAP session. The error code associated with an LDAP session
is accessible using
.BR ldap_get_option (3)
and
.BR ldap_set_option (3)
with the
.B LDAP_OPT_ERROR_NUMBER
option.
.LP
The
.B ldap_result2error()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment