Integrating Linux Servers With Active Directory

Login to Linux server and do the following steps

 

1. Update /etc/hosts and add active directory server IP and host name details

 

2.Login as root user and execute the following command

yum install sssd realmd oddjob oddjob-mkhomedir adcli samba-common samba-common-tools krb5-workstation openldap-clients policycoreutils-python

 

3.Reboot the server

 

4.Join the server with active directory using following command

 

realm join --user=administrator servername.domain.com

 

5.Make sure it is properly added to the domain using the bellow command

 

realm list

 

6.Update /etc/sssd/sssd.conf file

 

update the following

 

use_fully_qualified_names = False

 

fallback_homedir = /home/%u

 

7.Restart sssd service

 

systemctl restart sssd