mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Create ADconnection.sh
This commit is contained in:
parent
0c1ce67fcf
commit
e989c51e61
@ -209,13 +209,13 @@ 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"
|
||||||
else
|
else
|
||||||
echo "Checking sssd config.. FAIL"
|
echo "Checking sssd config.. FAIL"
|
||||||
fi
|
fi
|
||||||
|
realm discover
|
||||||
eof
|
eof
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user