Added support for ubuntu 19

Due to changens in ubuntu 19.10 you can get encryption error with krb5.
the script will add a PPA for a new version of adcli.  plese run upgrade if script fails with ubuntu 19.10
This commit is contained in:
PierreGode 2019-11-11 15:21:15 +01:00 committed by GitHub
parent 3d82fa74fe
commit 2e282e520c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -623,9 +623,14 @@ read -r ADMIN
clear
if [ "$var" -eq "19" ]
then
echo""
echo "fixing krb5.keytab: Bad encryption type for ubuntu 19.10"
echo ""
sudo add-apt-repository ppa:aroth/ppa
sudo apt-get update
echo ""
echo "If the script fails please run sudo apt-get upgrade to update adcli and run the script again"
echo ""
fi
sudo echo "${INTRO_TEXT}Realm=$DOMAIN${END}"
echo "${INTRO_TEXT}Joining Ubuntu $var${END}"