[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: web500gw ( LDAP_OPT_ERROR_STRING )
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Kervin L.
> Pierre
> Howard Chu wrote:
> > ld->ld_error can be retrieved directly using ldap_get_option() and
> > LDAP_OPT_ERROR_NUMBER.
>
> Did you mean LDAP_OPT_ERROR_STRING?
I was thinking of ld->ld_errno, whose value you need for ldap_err2string().
ld->ld_error (and LDAP_OPT_ERROR_STRING) is for additional error info, not
for the base error message.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support