Update ad-join-script.sh

bug correction
This commit is contained in:
jeanGaston 2024-04-14 15:00:40 +02:00 committed by GitHub
parent de0c26703c
commit ad3ee4a856
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,6 +54,10 @@ dyndns_update_ptr = true
dyndns_ttl = 3600 dyndns_ttl = 3600
EOF EOF
# Modify the sssd.conf configuration
echo "Modifying sssd.conf..."
sed -i 's/use_fully_qualified_names = True/use_fully_qualified_names = False/g' /etc/sssd/sssd.conf
# Restart the SSSD service # Restart the SSSD service
echo "Restarting the SSSD service..." echo "Restarting the SSSD service..."
systemctl restart sssd systemctl restart sssd