summaryrefslogtreecommitdiffstats
path: root/plugins/check_ldap.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 21:23:50 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 21:23:50 (GMT)
commit3f05eb7fcb71942c90fa7d5796c3d18ed62443cf (patch)
tree1d535c13394a0192c3d420b80e542c4a6aa2e303 /plugins/check_ldap.c
parent3acc7c358f41b3fd960a27a1a8360beb64b2112c (diff)
downloadmonitoring-plugins-3f05eb7fcb71942c90fa7d5796c3d18ed62443cf.tar.gz
--disable-nls throws an error on check_dns, check_procs and
check_ldap without this patch. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@981 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_ldap.c')
-rw-r--r--plugins/check_ldap.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/check_ldap.c b/plugins/check_ldap.c
index 9c41cc3..b12a0ed 100644
--- a/plugins/check_ldap.c
+++ b/plugins/check_ldap.c
@@ -335,6 +335,13 @@ print_usage (void)
335Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\ 335Usage: %s -H <host> -b <base_dn> [-p <port>] [-a <attr>] [-D <binddn>]\n\
336 [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n\ 336 [-P <password>] [-w <warn_time>] [-c <crit_time>] [-t timeout]%s\n\
337(Note: all times are in seconds.)\n"), 337(Note: all times are in seconds.)\n"),
338 progname, (HAVE_LDAP_SET_OPTION ? "[-2|-3] [-4|-6]" : "")); 338 progname,
339#ifdef HAVE_LDAP_SET_OPTION
340 " [-2|-3] [-4|-6]"
341#else
342 ""
343#endif
344 );
345
339 printf (_(UT_HLP_VRS), progname, progname); 346 printf (_(UT_HLP_VRS), progname, progname);
340} 347}