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
05ca6de0a1
commit
13461f2bbb
@ -903,8 +903,12 @@ then
|
||||
exit
|
||||
fi
|
||||
else
|
||||
echo "error in readfile"
|
||||
exit
|
||||
echo "No readfile"
|
||||
if ! sudo realm join --verbose --user="$ADMIN" "$DOMAIN" --install=/
|
||||
then
|
||||
echo "${RED_TEXT}AD join failed.please check your errors with journalctl -xe${END}"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user