Bug#425137: [Pkg-nagios-devel] Bug#425137: check_ldap fails to report actual LDAP errors

2009-10-15 Thread Jan Wagner
Hi Josip, checking old bugs, I stumbled upon this. On Saturday, 19. May 2007, Josip Rodin wrote: The check_ldap plugin does this: % /usr/lib/nagios/plugins/check_ldap -H 'validip' -b 'validdn' Could not bind to the ldap-server Whereas, tethereal reveals that the message received was:

Bug#425137: [Pkg-nagios-devel] Bug#425137: check_ldap fails to report actual LDAP errors

2009-10-15 Thread Josip Rodin
On Thu, Oct 15, 2009 at 09:46:28PM +0200, Jan Wagner wrote: Now, why didn't check_ldap communicate that? Because it has this in the code (plugins/check_ldap.c): /* bind to the ldap server */ if (ldap_bind_s (ld, ld_binddn, ld_passwd, LDAP_AUTH_SIMPLE) !=

Bug#425137: [Pkg-nagios-devel] Bug#425137: check_ldap fails to report actual LDAP errors

2009-10-15 Thread Jan Wagner
Hi Jospin, thanks for you fast response. On Thursday, 15. October 2009, Josip Rodin wrote: As for the Debian bug, it's also relevant that the -v option is not used in any of the command definitions in the default /etc/nagios-plugins/config/ldap.cfg that is shipped with the package (at least

Bug#425137: [Pkg-nagios-devel] Bug#425137: check_ldap fails to report actual LDAP errors

2009-10-15 Thread Josip Rodin
On Thu, Oct 15, 2009 at 11:03:40PM +0200, Jan Wagner wrote: On Thursday, 15. October 2009, Josip Rodin wrote: As for the Debian bug, it's also relevant that the -v option is not used in any of the command definitions in the default /etc/nagios-plugins/config/ldap.cfg that is shipped with