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
13fb2395bb
commit
0f9b457580
@ -50,7 +50,7 @@ sudo echo "${NORMAL}${NORMAL}"
|
||||
var=$(lsb_release -a | grep -i release: | cut -d ':' -f2 | cut -d '.' -f1)
|
||||
if [ "$var" -eq "14" ]
|
||||
then
|
||||
echo "Detecting Ubuntu 14"
|
||||
echo "${INTRO_TEXT}"Detecting Ubuntu $var"${END}"
|
||||
echo "Installing additional dependencies"
|
||||
sudo apt-get install -y realmd sssd sssd-tools samba-common krb5-user
|
||||
clear
|
||||
@ -62,7 +62,7 @@ sudo realm join -v -U $ADMIN $DOMAIN --install=/
|
||||
else
|
||||
if [ "$var" -eq "16" ]
|
||||
then
|
||||
echo "Detecting Ubuntu 16"
|
||||
echo "${INTRO_TEXT}"Detecting Ubuntu $var"${END}"
|
||||
sudo realm join --verbose --user=$ADMIN $DOMAIN
|
||||
else
|
||||
clear
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user