Update ad-join-script.sh

remove DNS auto registration because of some bugs
This commit is contained in:
jeanGaston 2024-03-01 13:37:06 +01:00 committed by GitHub
parent a8ab187f20
commit 24c91e32e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ realm discover $domain_name
# Join the domain using the provided information # Join the domain using the provided information
echo "Joining the domain and registering DNS..." echo "Joining the domain and registering DNS..."
echo $admin_password | realm join --user=$admin_user --computer-ou=OU=Computers,DC=$domain_name --os-name=AlmaLinux --os-version=8 $domain_name echo $admin_password | realm join --user=$admin_user $domain_name
# Modify the sssd.conf configuration # Modify the sssd.conf configuration