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
b931de716d
commit
1f597fe770
@ -1719,6 +1719,7 @@ fi
|
||||
clear
|
||||
sudo echo "${INTRO_TEXT}Realm= $DOMAIN${END}"
|
||||
sudo echo "${NORMAL}${NORMAL}"
|
||||
sudo echo "" | sudo tee /etc/sssd/sssd.conf
|
||||
if ! sudo realm join --verbose --user="$ADMIN" "$DOMAIN" --install=/
|
||||
then
|
||||
echo "${RED_TEXT}AD join failed.please check your errors with journalctl -xe${END}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user