improved detecting fails and errors.

This commit is contained in:
Pierre Gode 2019-04-02 15:07:41 +02:00
parent 69873de6ac
commit 1110158da6

View File

@ -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"