Create ADconnection.sh

This commit is contained in:
PierreGoude 2017-06-15 08:49:44 +02:00 committed by GitHub
parent d9f5e50347
commit 0c1ce67fcf

View File

@ -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 echo "override_homedir = /home/%d/%u" | sudo tee -a /etc/sssd/sssd.conf
cat /etc/sssd/sssd.conf | grep -i override cat /etc/sssd/sssd.conf | grep -i override
sudo service sssd restart sudo service sssd restart
realm discover
if [ $? = 0 ] if [ $? = 0 ]
then then
echo "Checking sssd config.. OK" echo "Checking sssd config.. OK"