[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to get "additional info" error information



On Fri, 2006-05-12 at 13:18 -0400, Jeremiah Martell wrote:
> Hello,
> 
>    When I use the command line "ldapsearch" it gives me two errors.
> The first is what I'm used to, the standard LDAP Error number and text
> meaning. However, it also gives "additional info" which can give you
> the error from SASL, etc. How do I get at this additional error
> information?

I assume you mean "with the C API", right?  Based on what call you use,
see ldap_parse_result(3) (the 5th argument), or ldap_get_option(sorry,
no man page?), the LDAP_OPT_ERROR_STRING.

p.





Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------