From 58b7252c75c4f2c45f94b5e4945b9b2542901ffb Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 22 Jun 2017 10:26:13 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index df921b6..33a823a 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -709,7 +709,7 @@ ldaplook(){ export HOSTNAME myhost=$( hostname ) ldaptools=$( sudo dpkg -l | grep -i ldap-utils | cut -d 's' -f1 | cut -d 'l' -f2 ) -if [ $ldaptools = dap-uti ] +if [ "$ldaptools" = dap-uti ] then echo "ldap tool installed.. verifying setup" sudo ldapsearch | grep -i $myhost