Problem: The LDAP Server is not found

Problem

You notice some issues on your server and the ldapsearch command tells about the ldap server not reachable:

root@school:~# ldapsearch -x
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

Solution

Make sure the correct ucr variable is set so the components try to access the correct server. Additionally make sure to have the correct server given if configured through policies:

root@school:~# ucr set ldap/server/name=gymli21
Setting ldap/server/name
W: ldap/server/name is overridden by scope "ldap"
[...]

If you get the overridden by scope "ldap" configure the correct server in your global policy.

This topic was automatically closed after 24 hours. New replies are no longer allowed.

Mastodon