mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
e92be1e6c4
commit
4b77ffc067
@ -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(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user