diff --git a/ADconnection.sh b/ADconnection.sh index 9d766c5..8c079b0 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1087,7 +1087,7 @@ fi encrypt=$( sudo grep ENCRYPTEDPASSWD readfile | awk '{print $3}' ) if [ "$encrypt" = "null" ] || [ "$encrypt" = "no" ] then - if ! sudo realm join --verbose --user="$DomainADMIN" "$DOMAIN" + if ! sudo realm join --verbose --user="$DomainADMIN" "$DOMAIN" --install=/ then echo "${RED_TEXT}AD join failed.please check your errors with journalctl -xe${END}" exit