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
b84ed876a5
commit
6f34a278d3
@ -30,7 +30,7 @@ sudo apt-get install realmd adcli sssd -y
|
|||||||
sudo apt-get install ntp -y
|
sudo apt-get install ntp -y
|
||||||
clear
|
clear
|
||||||
|
|
||||||
DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2)
|
DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//')
|
||||||
echo "${NUMBER}I seached for an available domain and found >>> $DOMAIN <<< ${END}"
|
echo "${NUMBER}I seached for an available domain and found >>> $DOMAIN <<< ${END}"
|
||||||
|
|
||||||
read -p "Do you wish to use it (y/n)?" yn
|
read -p "Do you wish to use it (y/n)?" yn
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user