Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-03-06 16:06:48 +01:00 committed by GitHub
parent af1c33d149
commit 057e5b7f39

View File

@ -74,9 +74,9 @@ else
echo "${NUMBER}I searched for an available domain and found nothing, please type your domain manually below... ${END}" echo "${NUMBER}I searched for an available domain and found nothing, please type your domain manually below... ${END}"
echo "Please enter the domain you wish to join:" echo "Please enter the domain you wish to join:"
read -r DOMAIN read -r DOMAIN
fi
discovery=$(realm discover $DOMAIN | grep domain-name) discovery=$(realm discover $DOMAIN | grep domain-name)
NetBios=$(echo $DOMAIN | cut -d '.' -f1) NetBios=$(echo $DOMAIN | cut -d '.' -f1)
echo "${INTRO_TEXT}"Please type Admin user"${END}" echo "${INTRO_TEXT}"Please type Admin user"${END}"
read ADMIN read ADMIN
clear clear