From 2e282e520c0b03d892169ba16dd6149e11900384 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Mon, 11 Nov 2019 15:21:15 +0100 Subject: [PATCH] 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 --- ADconnection.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ADconnection.sh b/ADconnection.sh index 57e993b..7997e78 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -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}"