6.6 Ensure LDAP is not enabled

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 server will not need to act as an LDAP client or server, it is recommended that the
software be disabled to reduce the potential attack surface.

Solution

Uninstall the slapd package-# apt-get purge slapd

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(4), 800-53|CM-7b.

Plugin: Unix

Control ID: 852c4d192615a069d1dedd958f593319e4bc8f7b65003057656cec02f2e2fc81