Update ADconnection.sh

This commit is contained in:
PierreGoude 2017-02-06 09:18:32 +01:00 committed by GitHub
parent e92be1e6c4
commit 4b77ffc067

View File

@ -306,6 +306,7 @@ echo "override_homedir = /home/%d/%u" >> /etc/sssd/sssd.conf
eof eof
} }
############################### Fail check #################################### ############################### Fail check ####################################
failcheck(){
therealm=$(realm discover | grep -i configured: | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//') therealm=$(realm discover | grep -i configured: | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
if [ $therealm = no ] if [ $therealm = no ]
then then
@ -334,7 +335,7 @@ echo Checking login configuration.. "${INTRO_TEXT}"OK"${END}"
else else
echo Checking login configuration.. "${RED_TEXT}"FAIL"${END}" echo Checking login configuration.. "${RED_TEXT}"FAIL"${END}"
fi fi
}
############################### Reauth ########################################## ############################### Reauth ##########################################
Reauthenticate14(){ Reauthenticate14(){