Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-02-02 11:38:03 +01:00 committed by GitHub
parent 1e43427849
commit 13fb2395bb

View File

@ -29,7 +29,6 @@ myhost=$( hostname )
sudo apt-get install realmd adcli sssd -y sudo apt-get install realmd adcli sssd -y
sudo apt-get install ntp -y sudo apt-get install ntp -y
clear clear
DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//') DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
echo "${NUMBER}I searched for an available domain and found >>> $DOMAIN <<< ${END}" echo "${NUMBER}I searched for an available domain and found >>> $DOMAIN <<< ${END}"
@ -102,7 +101,6 @@ echo Realm configured?.. "${RED_TEXT}"FAIL"${END}"
else else
echo Realm configured?.. "${INTRO_TEXT}"OK"${END}" echo Realm configured?.. "${INTRO_TEXT}"OK"${END}"
fi fi
if [ -f /etc/sudoers.d/sudoers ] if [ -f /etc/sudoers.d/sudoers ]
then then
echo Checking sudoers file.. "${INTRO_TEXT}"OK"${END}" echo Checking sudoers file.. "${INTRO_TEXT}"OK"${END}"