mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
bfe4dde949
commit
235d17ea4c
@ -45,6 +45,10 @@ var=$(lsb_release -a | grep -i release: | cut -d ':' -f2 | cut -d '.' -f1)
|
|||||||
if [ "$var" -eq "14" ]
|
if [ "$var" -eq "14" ]
|
||||||
then
|
then
|
||||||
echo "Detecting Ubuntu 14"
|
echo "Detecting Ubuntu 14"
|
||||||
|
echo "installing additional dep"
|
||||||
|
sudo apt-get install realmd adcli sssd -y
|
||||||
|
sudo apt-get install ntp -y
|
||||||
|
sudo apt-get install realmd sssd sssd-tools samba-common krb5-user
|
||||||
sudo realm join -v -U $ADMIN $DOMAIN --install=/
|
sudo realm join -v -U $ADMIN $DOMAIN --install=/
|
||||||
else
|
else
|
||||||
if [ "$var" -eq "16" ]
|
if [ "$var" -eq "16" ]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user