LDAP: Configure an OpenLDAP Server

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

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.

Additional Resources

You have just started working at DadCorp, a new startup providing a subscription service that emails dad jokes to customers. The majority of the data center is web servers containing the sign-up forms.

DadCorp is moving toward a central point of authority for all authentication. You've been tasked with setting up an OpenLDAP server to test configurations moving forward. An Organizational Unit plan has already been set up, so it's just a matter of installing the server and setting it all up.

The required .ldif files are already on the server in /root/ldifs. We also need to enable TLS for this setup; there is a certificate and key in /root/ldifs. We need to install the software, configure the LDAP database, and then load the OU information.

If you get stuck, feel free to check out the solution video or the detailed instructions under each objective. Good luck!

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!