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
4c09cad0f2
commit
c79e5fa0f3
@ -197,7 +197,7 @@ else
|
|||||||
echo Checking PAM auth configuration.. "${RED_TEXT}"FAIL"${END}"
|
echo Checking PAM auth configuration.. "${RED_TEXT}"FAIL"${END}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
realm discover $DOMAIN
|
#realm discover $DOMAIN
|
||||||
if [ "$therealm" = no ]
|
if [ "$therealm" = no ]
|
||||||
then
|
then
|
||||||
echo "${RED_TEXT}"Join has Failed"${END}"
|
echo "${RED_TEXT}"Join has Failed"${END}"
|
||||||
@ -822,7 +822,6 @@ echo ""
|
|||||||
echo "-------------------------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------------------------"
|
||||||
realm discover
|
realm discover
|
||||||
echo "-------------------------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------------------------"
|
||||||
realm list
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user