From 69873de6acc3cbedd9a6b81716c0eefcd660fd68 Mon Sep 17 00:00:00 2001 From: Pierre Gode Date: Tue, 2 Apr 2019 15:04:59 +0200 Subject: [PATCH] improved detecting fails and errors. --- ADconnection.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ADconnection.sh b/ADconnection.sh index 601ac9d..e03c8c3 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1278,6 +1278,7 @@ echo "${NUMBER}your BASE will be the area you will search in${END}" sleep 3 if [ "$ldaptools" = dap-uti ] then +clear echo "ldap tool installed.. trying to find this host" sudo ldapsearch -x cn="$myhost'*'" echo "Please type what you are looking for" @@ -1285,6 +1286,7 @@ read -r own sudo ldapsearch -x | grep -i "$own" exit else +clear sudo apt-get install ldap-utils -y echo "${NUMBER}please edit in ldap.conf the lines BASE and URI ${END}" sleep 3