From e0ee45e188a5e2b5ebde25bf6575f0d86e637fef Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sun, 1 Dec 2013 21:54:26 +0100 Subject: [PATCH] Use check_ldap instead of check_ldaps for the check_ldaps* command definitions --- debian/pluginconfig/ldap.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/pluginconfig/ldap.cfg b/debian/pluginconfig/ldap.cfg index 30d5279..ae5bde3 100644 --- a/debian/pluginconfig/ldap.cfg +++ b/debian/pluginconfig/ldap.cfg @@ -5,9 +5,11 @@ define command{ } # 'check_ldaps' command definition +# This was using 'check_ldaps' in the past which used port 389 and starttls +# mechanism on default, keeped for backward compatibility define command{ command_name check_ldaps - command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' + command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' } #### @@ -21,7 +23,9 @@ define command{ } # 'check_ldaps_4' command definition +# This was using 'check_ldaps' in the past which used port 389 and starttls +# mechanism on default, keeped for backward compatibility define command{ command_name check_ldaps_4 - command_line /usr/lib/nagios/plugins/check_ldaps -H '$HOSTADDRESS$' -b '$ARG1$' -4 + command_line /usr/lib/nagios/plugins/check_ldap -H '$HOSTADDRESS$' -T -b '$ARG1$' -4 }