From 3e8b99bfaa4ec4a974e216a8bdfbaa5ff1cc0b58 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Tue, 13 Dec 2016 12:13:30 +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 d0ce213..025d7f9 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -78,7 +78,7 @@ echo "in SSH allow file..." sudo cat /etc/ssh/login.group.allowed | grep $myhost echo " if this is wrong DO NOT REBOOT and contact sysadmin" exec sudo -u root /bin/sh - < /etc/sssd/sssd.conf +echo "default-home = /home/%U" >> /etc/sssd/sssd.conf sed -i -e 's/use_fully_qualified_names = True/use_fully_qualified_names = False/g' /etc/sssd/sssd.conf eof }