From ad3ee4a8565ccdb16d8da61984cfc7af43c1e2a9 Mon Sep 17 00:00:00 2001 From: jeanGaston Date: Sun, 14 Apr 2024 15:00:40 +0200 Subject: [PATCH] Update ad-join-script.sh bug correction --- ad-join-script.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ad-join-script.sh b/ad-join-script.sh index 526c0be..ba10e9c 100644 --- a/ad-join-script.sh +++ b/ad-join-script.sh @@ -54,6 +54,10 @@ dyndns_update_ptr = true dyndns_ttl = 3600 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 echo "Restarting the SSSD service..." systemctl restart sssd