From 0a8736fb45b686fabd861d7150bd62848533d0e5 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Mon, 12 Dec 2016 14:53:12 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ADconnection.sh b/ADconnection.sh index 519ca39..21394b0 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -51,6 +51,7 @@ sudo su sed -i -e 's/use_fully_qualified_names = True/use_fully_qualified_names = False/g' /etc/sssd/sssd.conf sudo systemctl enable sssd sudo systemctl start sssd +exit echo "Please enter user to add (user without @server.server)" read UseR echo "session required pam_mkhomedir.so skel=/etc/skel/ umask=0022" >> /etc/pam.d/common-session