From 13461f2bbb02b34457687ccef6862b34628af80b Mon Sep 17 00:00:00 2001 From: PierreGode <8579922+PierreGode@users.noreply.github.com> Date: Mon, 13 Jul 2020 08:01:04 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index e4257dc..086a346 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -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