[Pkg-nagios-changes] [pkg-nagios-plugins-contrib] 09/14: Remove check_ldap_root.

Bernd Zeimetz bernd at bzed.de
Fri Jan 13 13:26:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

bzed pushed a commit to branch master
in repository pkg-nagios-plugins-contrib.

commit 9038743d4e8631eeaac5b5076b7832af3bc7d8ef
Author: Bernd Zeimetz <bernd at bzed.de>
Date:   Fri Jan 13 11:22:15 2017 +0100

    Remove check_ldap_root.
    
    This is nothing check_ldap could not handle.
    Please use check_ldap.
---
 check_ldap_root/Makefile        |  5 -----
 check_ldap_root/check_ldap_root | 35 -----------------------------------
 check_ldap_root/control         |  6 ------
 check_ldap_root/copyright       | 14 --------------
 4 files changed, 60 deletions(-)

diff --git a/check_ldap_root/Makefile b/check_ldap_root/Makefile
deleted file mode 100644
index fbe7697..0000000
--- a/check_ldap_root/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-#/usr/bin/make -f
-
-PLUGIN = check_ldap_root
-
-include ../common.mk
diff --git a/check_ldap_root/check_ldap_root b/check_ldap_root/check_ldap_root
deleted file mode 100755
index 2eaa99d..0000000
--- a/check_ldap_root/check_ldap_root
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# Author: Petter Reinholdtsen <pere at hungry.com>
-# Date: 2011-12-22
-# License: GNU GPL v2 or later
-#
-# Make sure the LDAP server is able to respond by searching for the
-# root DSE.
-
-set -e
-
-PATH=/bin:/sbin:/usr/sbin:/usr/bin
-
-if [ -z "$1" ] ; then
-    echo "No LDAP server specified on command line"
-    exit 1
-fi
-
-ldapserver=$1
-shift
-
-if type ldapsearch > /dev/null 2>&1 ; then
-    :
-else
-    echo "Missing the ldapsearch tool, unable to check LDAP server."
-    exit 2
-fi
-
-if ldapsearch -l 3 -LLL -h $ldapserver -x -b '' -s base > /dev/null 2>&1 ; then
-    echo "OK - Searching for LDAP root DSE worked on $ldapserver"
-    exit 0
-else
-    echo "Failed to fetch root DSE from LDAP server $ldapserver."
-    exit 1
-fi
diff --git a/check_ldap_root/control b/check_ldap_root/control
deleted file mode 100644
index 237667c..0000000
--- a/check_ldap_root/control
+++ /dev/null
@@ -1,6 +0,0 @@
-Uploaders: Petter Reinholdtsen <pere at hungry.com>
-Description: plugin to check LDAP server response
- Make sure the LDAP server is able to respond by searching for the
- root DSE.
-Recommends: ldap-utils
-Version: ?
diff --git a/check_ldap_root/copyright b/check_ldap_root/copyright
deleted file mode 100644
index 08d8906..0000000
--- a/check_ldap_root/copyright
+++ /dev/null
@@ -1,14 +0,0 @@
-Copyright (C) 2011 Petter Reinholdtsen <pere at hungry.com>
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or (at
-your option) any later version.
-
-This program is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, see <http://www.gnu.org/licenses/>.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins-contrib.git



More information about the Pkg-nagios-changes mailing list