[Nagiosplug-devel] Small check_ldap fix
Nicolas Lopez
nlopez at espri.arizona.edu
Fri Sep 26 12:37:05 CEST 2003
Check_ldap currently assumes that it is supposed to bind to the tree
with a username and password, even if you don't specify one. This fails
in the case of an anonymous(unbound) connection. The ldap_bind_s part
needs to be wrapped in an if (ld_binddn), then everything is happy. I'm
attaching a patch that does just that.
I'm not subscribed to the list so please reply directly to me.
Thanks.
- Nick Lopez
nlopez at espri.arizona.edu
More information about the Devel
mailing list