Troubleshooting an LDAP Installation

15 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Understanding a service well enough to troubleshoot it is an important skill as a System Administrator. In this lab, we’ll go over troubleshooting an LDAP installation.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Set the system up so that ‘ldapuser3’ can log in over ssh.

authconfig --updateall --enableldap --enableldapauth

Change the password for ‘ldapuser3’.
ldappasswd -H ldap://localhost -x  
-D "cn=ldapadm,dc=example,dc=com" -W  
-S "uid=ldapuser3,ou=People,dc=example,dc=com"

Additional Resources

A junior administrator has come to you saying he can't figure out why this LDAP installation doesn't work.

The LDAP manager CN is cn=ldapadm,dc=example,dc=com with a password of 1234.

The user in question is cn=ldapuser3,dc=example,dc=com with a password of 1234. Other users can connect with ssh, but that user cannot.

Once that user has connected, their password needs to be changed to 'LinuxAcademy'.

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.

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?