Setup to join Active Directory on CentOS 8

Complete install CentOS with server option (without GUI).

Setting DNS server IP address the same as Active Directory Server IP address.
Do not edit config manually /etc/resolv.conf. If you forget to edit DNS IP address in install operation, Edit on web console later.

Open url https://YOURSERVER:9090/ when on your console type command below.

systemctl enable --now cockpit.socket

Click "System" -> "Domain" and type Admin's(or Manager account) id/pass, domain.

Important: Do not use IP address for domain field. sssd does not resolve domain by IP address.

Edit /etc/sssd/sssd.conf (option. I prefer this settings.)

If you want to custom user's home directory and user name.

[domain/%YOURDOMAIN%]
use_fully_qualified_names = False
override_homedir = /home/%u
fallback_homedir = /home/%u
By @Akio Tomita in
Tags :