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
d9f5e50347
commit
0c1ce67fcf
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user