mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update ADconnection.sh
This commit is contained in:
parent
af1c33d149
commit
057e5b7f39
@ -74,9 +74,9 @@ else
|
||||
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:"
|
||||
read -r DOMAIN
|
||||
fi
|
||||
discovery=$(realm discover $DOMAIN | grep domain-name)
|
||||
NetBios=$(echo $DOMAIN | cut -d '.' -f1)
|
||||
|
||||
echo "${INTRO_TEXT}"Please type Admin user"${END}"
|
||||
read ADMIN
|
||||
clear
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user