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
2dff90e855
commit
87874f825d
@ -41,6 +41,7 @@ read ADMIN
|
||||
discovery=$(realm discover $DOMAIN | grep domain-name)
|
||||
clear
|
||||
sudo echo "${INTRO_TEXT}"Realm= $discovery"${INTRO_TEXT}"
|
||||
sudo echo "${NORMAL}${NORMAL}"
|
||||
sleep 1
|
||||
sudo realm join --verbose --user=$ADMIN $DOMAIN
|
||||
if [ $? -ne 0 ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user