From 96e73931d63cfd7e798c1581eef6d54fd058a07d Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 14 Dec 2017 16:21:45 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index c468d7b..bb1f683 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -595,7 +595,7 @@ read ADMIN clear sudo echo "${INTRO_TEXT}"Realm= $discovery"${INTRO_TEXT}" sudo echo "${NORMAL}${NORMAL}" -sudo realm join --verbose --user=$ADMIN $DOMAIN +sudo realm join --verbose --user=$ADMIN $DOMAIN --install=/ if [ $? -ne 0 ]; then echo "${RED_TEXT}"AD join failed.please check that computer object is already created and test again "${END}" exit