check_ldap fails with "Could not bind to the ldap-server"
Re: check_ldap fails with "Could not bind to the ldap-server
I can't imagine how. Have you actually tried this? I'd be interested in seeing a working example.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_ldap fails with "Could not bind to the ldap-server
well the basis of that idea would be that it could resolve either hostname or fqdn to the proper IP and "shouldn't" have an issue. The ld_host part is simply a variable name, it's not referencing an actual structure and considering the strlen(ld_host) after, it expects to work with a simple string. So with it simply basing the idea off strings, abrist's idea should work, although I am not sure why it doesn't seem to for you.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.