Differences

This shows you the differences between two versions of the page.

Link to this comparison view

centos7:2:2:6 [2017/05/04 14:45] (current)
Piotr Kłoczewski created
Line 1: Line 1:
 +======2.2.6 Ensure LDAP server is not enabled (Scored)======
 +=====Profile Applicability=====  ​
 +<​code>​
 +Level 1 - Server
 +Level 1 - Workstation ​
 +</​code>​
 +
 +=====Description=====
 +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 disabled to reduce the potential attack surface.
 +
 +=====Audit===== ​
 +Run the following commands to verify ''​slapd''​ is not enabled:
 +<​Code:​bash>​
 +# systemctl is-enabled slapd 
 +disabled ​
 +</​Code>​
 +Verify result is not "​enabled"​.
 +
 +=====Remediation===== ​
 +Run the following command to disable ''​slapd'':​
 +<​Code:​bash>​
 +# systemctl disable slapd 
 +</​Code>​
 +
 +=====References=====
 +For more detailed documentation on OpenLDAP, go to the project homepage at http://​www.openldap.org.