- Before we join the system to a domain we need to install some prerequisites.
command #yum install realmd samba samba-common oddjob oddjob-mkhomedir sssd ntpdate ntp
- Then enable the ntp services and sync the time with the DC clock, failing to do so may result in some of the later commands to fail.
command # systemctl enable ntpd.service
command # ntpdate dc1.mydomain.local
command # systemctl start ntpd.service
- Once you have finished with the above, simply type in the bellow command using the right username and domain.
command # realm join –email@example.com mydomain.local
command # realm list