2.2.6 Ensure LDAP server is not installed

Information

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.

Rationale:

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

Solution

Run the following command to remove openldap-servers:

# yum remove openldap-servers

See Also

https://workbench.cisecurity.org/files/3152

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-4, CSCv7|9.2

Plugin: Unix

Control ID: 74e1c51baac32d9cb7cbe13341cd4647d74dad78e75cb216e004d9965f24bda9