From 1110158da62215a1da2f1f11e84d98a28ad90b1d Mon Sep 17 00:00:00 2001 From: Pierre Gode Date: Tue, 2 Apr 2019 15:07:41 +0200 Subject: [PATCH] improved detecting fails and errors. --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index e03c8c3..6cbdd50 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1280,7 +1280,7 @@ if [ "$ldaptools" = dap-uti ] then clear echo "ldap tool installed.. trying to find this host" -sudo ldapsearch -x cn="$myhost'*'" +sudo ldapsearch -x cn="$myhost" echo "Please type what you are looking for" read -r own sudo ldapsearch -x | grep -i "$own"