diff --git a/ADconnection.sh b/ADconnection.sh index 7997e78..6ba4ee8 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -628,6 +628,7 @@ echo "fixing krb5.keytab: Bad encryption type for ubuntu 19.10" echo "" sudo add-apt-repository ppa:aroth/ppa sudo apt-get update +sudo apt-get --only-upgrade install adcli echo "" echo "If the script fails please run sudo apt-get upgrade to update adcli and run the script again" echo "" @@ -1832,6 +1833,7 @@ then echo "fixing krb5.keytab: Bad encryption type for ubuntu 19.10" sudo add-apt-repository ppa:aroth/ppa sudo apt-get update +sudo apt-get --only-upgrade install adcli fi sudo echo "${INTRO_TEXT}Realm=$DOMAIN${END}" echo "${INTRO_TEXT}Joining Ubuntu $var${END}"