Authentication and authorization are important in a data center environment. While there are many directory access services that can do the job, OpenLDAP is a popular open-source one. In this lab, we’ll go over installing and configuring OpenLDAP.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Install the LDAP Software and Do the Initial Configuration
Use
yum
to install the required packages and start the service. Once that’s done, we can do the initial LDAP database setup and test the configuration.- Load the Schemas That Are Required to Use LDAP
Use the
ldapadd
command to add the schemas and load the initial setup of Organizational Units and users. Once that’s done, we can runldapsearch
to verify our settings are correct.