Mon, September 9, 2019 · 1 min read

Error: ldap_sasl_bind(SIMPLE): can't contact LDAP server(-l)

Error: ldap_sasl_bind(SIMPLE): can’t contact LDAP server(-l)

Cause: server ipaddr is not updated in ldap.conf file.

Solution:

vi /etc/openldap/ldap.conf
URI= ldap://127.0.0.1

or

URI=ldap://<server_ip>