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
|
||||
cat /etc/sssd/sssd.conf | grep -i override
|
||||
sudo service sssd restart
|
||||
realm discover
|
||||
if [ $? = 0 ]
|
||||
then
|
||||
echo "Checking sssd config.. OK"
|
||||
else
|
||||
echo "Checking sssd config.. FAIL"
|
||||
fi
|
||||
realm discover
|
||||
eof
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user