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 }