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.
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
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.