From 0c1ce67fcffc2bc441d69a5ad8edf8e0280e7f2f Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 15 Jun 2017 08:49:44 +0200 Subject: [PATCH] Create ADconnection.sh --- ADconnection.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ADconnection.sh b/ADconnection.sh index 70ccb41..0647f96 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -209,6 +209,7 @@ sed -i -e 's/use_fully_qualified_names = True/use_fully_qualified_names = False/ echo "override_homedir = /home/%d/%u" | sudo tee -a /etc/sssd/sssd.conf cat /etc/sssd/sssd.conf | grep -i override sudo service sssd restart +realm discover if [ $? = 0 ] then echo "Checking sssd config.. OK"