From 1ec06c88524d1afff50d57dc52940787dc47513b Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Tue, 31 Jan 2017 09:06:28 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 81a7c3a..c4c3b0b 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -30,7 +30,7 @@ sudo apt-get install realmd adcli sssd -y sudo apt-get install ntp -y clear -DOMAIN=$(realm discover | grep -i domain.name | cut -d ':' -f2) +DOMAIN=$(realm discover | grep -i realm.name | cut -d ':' -f2) echo "${NUMBER}I seached for an available domain and found $DOMAIN ${END}" read -p "Do you wish to use it (y/n)?" yn