Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-06-22 15:38:14 +02:00 committed by GitHub
parent 2ebfb4a2d9
commit 7235f7227d

View File

@ -715,8 +715,8 @@ echo "${NUMBER}Remember!you must be logged in with AD admin on the client/server
sleep 3 sleep 3
if [ "$ldaptools" = dap-uti ] if [ "$ldaptools" = dap-uti ]
then then
echo "ldap tool installed.. verifying setup" echo "ldap tool installed.. trying to find this host"
sudo ldapsearch | grep -i $myhost sudo ldapsearch cn=$myhost'*'
echo "Please type what you are looking for" echo "Please type what you are looking for"
read own read own
sudo ldapsearch | grep -i $own sudo ldapsearch | grep -i $own