i've got a problem with the check_ldap plugin. im running nagios on a gentoo server and when i try using the check_ldap plugin it gives me the following error:
Code: Select all
ldap_bind: Protocol error (2)
additional info: historical protocol version requested, use LDAPv3 instead
Could not bind to the LDAP server
here's a snipe from the code:
Code: Select all
#ifdef HAVE_LDAP_SET_OPTION
printf (" %s\n", "-2 [--ver2]");
printf (" %s\n", _("use ldap protocol version 2"));
printf (" %s\n", "-3 [--ver3]");
printf (" %s\n", _("use ldap protocol version 3"));
printf (" (%s %d)\n", _("default protocol version:"), DEFAULT_PROTOCOL);
#endif
thx,
greez,
dialsc