From 087e2600a032b4c29ee3c10265539f93e818e174 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Wed, 28 Jun 2017 11:20:33 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 6eee260..00fe956 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -124,7 +124,7 @@ sudo systemctl start sssd states=$( echo null ) states1=$( echo null ) grouPs=$( echo null ) -homedir=$( echo null ) +homedir=$( echo 0 ) therealm=$( echo null ) cauth=$( echo null ) clear @@ -182,7 +182,7 @@ fi;; states=$( echo 12 );; * ) echo 'Please answer yes or no.';; esac -homedir=$(cat /etc/pam.d/common-session | grep homedir | grep 0022 | cut -d '=' -f3) +homedir=$( cat /etc/pam.d/common-session | grep homedir | grep 0022 | cut -d '=' -f3 ) if [ $homedir = 0022 ] then echo ""