From 7235f7227db9b484cd33491877525a97f730d16f Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 22 Jun 2017 15:38:14 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 48bb267..4f30b7b 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -715,8 +715,8 @@ echo "${NUMBER}Remember!you must be logged in with AD admin on the client/server sleep 3 if [ "$ldaptools" = dap-uti ] then -echo "ldap tool installed.. verifying setup" -sudo ldapsearch | grep -i $myhost +echo "ldap tool installed.. trying to find this host" +sudo ldapsearch cn=$myhost'*' echo "Please type what you are looking for" read own sudo ldapsearch | grep -i $own