- A Cloud Guru
LDAP: Managing LDAP Users
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.
Table of Contents
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
ldapaddcommand required to add the user. To verify, we can run an
ldapsearchcommand 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
bbannerUID to get the DN. Then run
ldapmodifyto delete the user.
What's a lab?
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.