2.2.2 Ensure ldap client 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.

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.

Solution

Run the following command to remove the openldap-clients package:

# dnf remove openldap-clients

Impact:

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

See Also

https://workbench.cisecurity.org/benchmarks/18209

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|2.6

Plugin: Unix

Control ID: a1229ec6cbe42c22b312d832d7c07635ec682a7c0a8b4b806f0412df74b72e2a