2.3.5 Ensure LDAP client is not installed (Scored)

Level 1 - Server
Level 1 - Workstation 

The Lightweight Directory Access Protocol (LDAP) was introduced as a replacement for NIS/YP. It is a service that provides a method for looking up information from a central database.

If the system will not need to act as an LDAP client, it is recommended that the software be removed to reduce the potential attack surface..

Run the following commands to verify openldap-clients is not installed:

# rpm -q openldap-clients 
package openldap-clients is not installed

Run the following command to uninstall openldap-clients:

# yum remove openldap-clients

Removing the LDAP client will prevent or inhibit using LDAP for authentication in your environment.

  • centos7/2/3/5.txt
  • Last modified: 2017/05/04 17:17
  • by Piotr Kłoczewski