
Join a CentOS to Active Directory domain using LDAP.
How to configure windows active directory LDAP in CentOS?
In most organizations or company's, users and groups are created and managed on the Windows Active Directory Domain controller. In short form Active Directory. What if we have some Linux servers and client's systems and need to authenticate using windows credentials?
In this post, we will discuss integrating the Linux (centos) system or machine with windows AD and log in to those systems with AD credentials using LDAP protocol.
1- Prepare the Linux System
In CentOS, the default system name is localhost.localdomain. Change it to something meaningful. Ex. centos7.
#hostnamectl set-hostname centos7or#nano /etc/hostname
Make sure that, the active directory is reachable. Ping the domain name and response from AD must b...