Rule ID
SV-45865r1_rule
Version
V1R12
CCIs
The authentication of automated LDAP connections between systems must not use passwords since more secure methods are available, such as PKI and Kerberos. Additionally, the storage of unencrypted passwords on the system is not permitted.
Check for the "bindpw" option being used in the "/etc/ldap.conf" file. # grep bindpw /etc/ldap.conf If an uncommented "bindpw" option is returned then a cleartext password is in the file, this is a finding.
Edit the "/etc/ldap.conf" file to use anonymous binding by removing the "bindpw" option.