LDAP: Managing LDAP Users

15 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Authentication and authorization are important things to have 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 adding and deleting users.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Add the jrupert user using the ldif file provided.

Since the file is in root‘s home directory, we should elevate to root. Once that’s done we can run the ldapadd command required to add the user. To verify, we can run an ldapsearch command to see that the user was added.

Delete the bbanner user from LDAP

First, we should verify we have the correct DN for the user. Run an ldapsearch for the bbanner UID to get the DN. Then run ldapmodify to delete the user.

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 has recently set up an OpenLDAP server to test its suitability prior to complete implementation. You've been assigned to test adding and deleting users. The jrupert user needs to be added to the system - there is an ldif file in root's home directory to help with that. You also need to delete the tstark user.

The LDAP server is already up and running, and the LDAP Administrator username is ldapadm, and the password is 1234.

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!