Can't contact LDAP server
-
Hello!
I am trying to migrate my Zarafa from a Ubuntu 14.04.5 LTS server to a CentOS Linux release 7.4.1708 (Core) server.Currently I am facing an “Can’t contact LDAP server”-error.
For more details I have set log_level = 5 in server.cfg, but it didn’t help much, this is the output:
LDAP (simple-) bind failed: Can’t contact LDAP server
Cannot instantiate user plugin: Failure connecting any of the LDAP servers
Unable to instantiate user plugin
Failed to authenticate user ingo from file:///var/run/zarafa using program httpdI have tested ldapsearch and the user can be found.
ldapsearch -xLLL -b dc=mydomain,dc=xx uid=ingoAny suggestion how to get this working?
How can I figure out the cause of the problem, as the logfile is not really helpful? -
Hello @DerIngo,
did you use “ldap_host” or “ldap_uri” in /etc/kopano/ldap.cfg?
i think the user which is used for lookup (ldap_bind_user = cn=user,dc=mydomain,dc=xx) is a user with read rights.
i needed to change “ldap_user_unique_attribute = uidNumber” to “objectGuid”
and you wrote, you upgraded from zarafa (not kopano) to centos with zarafa or kopano?
because the zarafa attributes in ldap are all called:
zarafaResourceType
zarafaResourceCapacity
etc.
but in default kopano config this attributes are all called kopano…this is depending on the ADscheme you imported in your ad.
try to update all kopano names in .cfg’s to zarafa.
coffee_is_life
-
Hello @coffee_is_life,
thank you for your answer.
I try to move my Zarafa installation from one server to another. I have not attempted to move to Kopano by now.
I have set ldap_host, but also tried to set ldap_uri, but without success. -
in ldap.conf:
line “ldap_user_search_filter” which filter is set?
i need to change that aswell to : “(&(zarafaAccount=1)(|(objectClass=user)(objectClass=contact)))”
coffee_is_life