Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Can't contact LDAP server

    Legacy software
    2
    4
    1592
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerIngo
      DerIngo last edited by

      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 httpd

      I have tested ldapsearch and the user can be found.
      ldapsearch -xLLL -b dc=mydomain,dc=xx uid=ingo

      Any suggestion how to get this working?
      How can I figure out the cause of the problem, as the logfile is not really helpful?

      1 Reply Last reply Reply Quote 0
      • Coffee_is_life
        Coffee_is_life last edited by

        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

        DerIngo 1 Reply Last reply Reply Quote 0
        • DerIngo
          DerIngo @Coffee_is_life last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • Coffee_is_life
            Coffee_is_life last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post