InformationThe 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.
Removing the LDAP client will prevent or inhibit using LDAP for authentication in your environment.
# apt purge ldap-utils
The openldap-clients package can go by other names on some distributions. openldap2-client, and ldap-utils are known alternative package names.