Intro These steps were tested using Active Directory on Windows 2008 R2 and Windows 2012 R2.
Pre-requisites Install the packages needed yum -y install sssd realmd oddjob oddjob-mkhomedir adcli \ samba-common samba-common-tools krb5-workstation \ openldap-clients policycoreutils-python Ensure to use your AD as domain server [root@centos7 ~]# cat /etc/resolv.