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 theldapadd
command required to add the user. To verify, we can run anldapsearch
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 thebbanner
UID to get the DN. Then runldapmodify
to delete the user.