Update ADconnection.sh

This commit is contained in:
PierreGode 2018-06-14 09:00:32 +02:00 committed by GitHub
parent 4c09cad0f2
commit c79e5fa0f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ else
echo Checking PAM auth configuration.. "${RED_TEXT}"FAIL"${END}"
fi
fi
realm discover $DOMAIN
#realm discover $DOMAIN
if [ "$therealm" = no ]
then
echo "${RED_TEXT}"Join has Failed"${END}"
@ -822,7 +822,6 @@ echo ""
echo "-------------------------------------------------------------------------------------"
realm discover
echo "-------------------------------------------------------------------------------------"
realm list
exit
}