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
8fe9487f77
commit
cc8a663845
@ -230,7 +230,7 @@ else
|
|||||||
therealm=$(realm discover "$DOMAIN" | grep -i configured: | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
|
therealm=$(realm discover "$DOMAIN" | grep -i configured: | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
|
||||||
if [ "$therealm" = "no" ]
|
if [ "$therealm" = "no" ]
|
||||||
then
|
then
|
||||||
echo "Realm configured?.. ${RED_TEXT}NO${END}"
|
echo "Realm configured?.. ${NUMBER}NO${END}"
|
||||||
else
|
else
|
||||||
echo "Realm configured?.. ${INTRO_TEXT}YES${END}"
|
echo "Realm configured?.. ${INTRO_TEXT}YES${END}"
|
||||||
fi
|
fi
|
||||||
@ -869,7 +869,7 @@ else
|
|||||||
therealm=$( realm discover | grep -i realm-name | awk '{print $2}')
|
therealm=$( realm discover | grep -i realm-name | awk '{print $2}')
|
||||||
if [ "$therealm" = "no" ]
|
if [ "$therealm" = "no" ]
|
||||||
then
|
then
|
||||||
echo Realm configured?.. "${RED_TEXT}NO${END}"
|
echo Realm configured?.. "${NUMBER}NO${END}"
|
||||||
else
|
else
|
||||||
echo Realm configured?.. "${INTRO_TEXT}YES${END}"
|
echo Realm configured?.. "${INTRO_TEXT}YES${END}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user