Re: How get more detailed error information than the provided by ldap_err2string?

2014-03-09 Thread Werner M
closing thread:: Hi P, I would like to thank you and Howard for your help/direction and all others for the hard work on openldap. Thanx for not simply giving the code and instead instigating the investigation process. I've got the additionally info using ldap_get_option/

How get more detailed error information than the provided by ldap_err2string?

2014-03-08 Thread Werner - Google
Hi, I've the sample code bellow, and when i intentionally put the wrong credentials, i get from ldap_err2string( rc ) the error message: Invalid credentials. But monitoring network traffic with wireshark, i can see that on the bindResponse packet that returns from the server, i also get a more

Re: How get more detailed error information than the provided by ldap_err2string?

2014-03-08 Thread Pierangelo Masarati
On 03/08/2014 09:27 PM, Werner - Google wrote: Hi, I've the sample code bellow, and when i intentionally put the wrong credentials, i get from ldap_err2string( rc ) the error message: Invalid credentials. But monitoring network traffic with wireshark, i can see that on the bindResponse packet

Re: How get more detailed error information than the provided by ldap_err2string?

2014-03-08 Thread Howard Chu
Werner - Google wrote: Hi, I've the sample code bellow, and when i intentionally put the wrong credentials, i get from ldap_err2string( rc ) the error message: Invalid credentials. Read the ldap_get_option(3), ldap_bind(3), and ldap_result(3) manpages. But monitoring network traffic with

Re: How get more detailed error information than the provided by ldap_err2string?

2014-03-08 Thread Werner M
On 08/03/2014, at 18:15, Howard Chu h...@symas.com wrote: Werner - Google wrote: Hi, I've the sample code bellow, and when i intentionally put the wrong credentials, i get from ldap_err2string( rc ) the error message: Invalid credentials. Read the ldap_get_option(3), ldap_bind(3), and

Re: How get more detailed error information than the provided by ldap_err2string?

2014-03-08 Thread Werner M
On 08/03/2014, at 18:01, Pierangelo Masarati pierangelo.masar...@polimi.it wrote: On 03/08/2014 09:27 PM, Werner - Google wrote: Hi, I've the sample code bellow, and when i intentionally put the wrong credentials, i get from ldap_err2string( rc ) the error message: Invalid credentials.