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

    Kopano Groupware Core
    6
    29
    4036
    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.
    • jengelh
      jengelh Banned last edited by

      So why is kopano trying to resolve the name of the LDAP server via IPv6 lookups?

      First, that’s glibc, second, because the content of data transmissions and castrating a system’s ability to offer AF_INET6 sockets are two separate things. It helps to know what ipv6.disable does, and more importantly, doesn’t do.

      darootler 1 Reply Last reply Reply Quote 0
      • darootler
        darootler @jengelh last edited by

        @jengelh said in Can't contact LDAP server:

        So why is kopano trying to resolve the name of the LDAP server via IPv6 lookups?

        First, that’s glibc, second, because the content of data transmissions and castrating a system’s ability to offer AF_INET6 sockets are two separate things. It helps to know what ipv6.disable does, and more importantly, doesn’t do.

        Thank you for clarification, i think i fixed all my DNS issues playing around with systemd-resolve but i am still facing issues with kopano-server authentication issues after upgrading to 10.0.6.356:

        ldap_connect            Number of connections made to LDAP server                                       27
        ldap_reconnect          Number of re-connections made to LDAP server                                    0
        ldap_connect_fail       Number of failed connections made to LDAP server                                0
        ldap_connect_time       Total duration (µs) of connections made to LDAP server                          953515
        ldap_max_connect        Longest connection time (µs) made to LDAP server                                54989
        ldap_auth               Number of LDAP authentications                                                  129
        ldap_auth_fail          Number of failed authentications                                                10
        ldap_auth_time          Total authentication time (µs)                                                  3188436
        ldap_max_auth           Longest duration (µs) of authentication made to LDAP server                     58361
        ldap_avg_auth           Average duration (µs) of authentication made to LDAP server                     24737
        ldap_search             Number of searches made to LDAP server                                          457
        ldap_search_fail        Number of failed searches made to LDAP server                                   0
        ldap_search_time        Total duration (µs) of LDAP searches                                            426920
        ldap_max_search         Longest duration (µs) of LDAP search                                            2977
        userplugin              User backend plugin                                                             ldap
        

        Any hints?

        Regards
        Richard

        1 Reply Last reply Reply Quote 0
        • jengelh
          jengelh Banned last edited by

          A pull request is under review.

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

            After investing about 2 days i just downgraded to version 10.0.6.13.

            Regards
            Richard

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

              Any updates here?

              Regards
              Richard

              1 Reply Last reply Reply Quote 0
              • jengelh
                jengelh Banned last edited by

                included in >= 10.0.6.428.

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

                  I am on Kopano Core Version core-10.0.6.406.e263d46-Debian_10-amd64 and experience the same ldap issue since the upgrade with the ldap service running on Univention UCS.

                      osrelease               Pretty operating system name                                                    Debian GNU/Linux 10 (buster)
                      program_name            Program name                                                                    kopano-server
                      program_version         Program version                                                                 10.0.6
                      server_guid                                                                                             7636E72C7285493384B2CCC3487C6508
                  

                  Interesting enough, under https://download.kopano.io/community/core%3A/ I find only the 10.0.6.406 Version since 13.08.2020. I thought these artefacts were built daily? Anyway, when do you expect version 428+ with the ldap fix to be available?

                  Should you require more information to debug the issue, I’m happy to assist.

                  1 Reply Last reply Reply Quote 0
                  • alexthetiger68
                    alexthetiger68 @jengelh last edited by

                    @jengelh said in Can't contact LDAP server:

                    included in >= 10.0.6.428.

                    Does anyone know when this, or a later, version will be available on https://download.kopano.io/community/core%3A/ ? There has been no update on the nightly builds since 13.08.2020. Or can anyone point me to the correct repo to compile it myself?

                    fbartels 1 Reply Last reply Reply Quote 0
                    • fbartels
                      fbartels Kopano @alexthetiger68 last edited by

                      @alexthetiger68 said in Can't contact LDAP server:

                      Or can anyone point me to the correct repo to compile it myself?

                      The sources for the Groupware Core part are located at https://stash.kopano.io/projects/KC/repos/kopanocore/browse

                      The last I checked the missing nightly releases were looked into, but currently the focus is on finalizing the upcoming release for customers, so the nightly downloads are not the highest priority.

                      Regards Felix

                      Resources:
                      https://kopano.com/blog/how-to-get-kopano/
                      https://documentation.kopano.io/
                      https://kb.kopano.io/

                      Support overview:
                      https://kopano.com/support/

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

                        Good news, everyone.

                        I just upgraded to core-10.0.6.496 and so far, the ldap connection errors seems to be gone.

                        1 Reply Last reply Reply Quote 1
                        • alexthetiger68
                          alexthetiger68 last edited by

                          Well, the error messages have changed slightly, but at least the clients (Outlook via Activesync w/o KOE, Mail on iOS) do not seem to complain anymore.

                          Previously the clients would show a popup stating that the username/password was wrong, which I just had to <cancel> multiple times till it went away and synching of Kopano server to the clients resumed.

                          The new error message:
                          2020-10-08T06:39:27.011248: [error ] Previous message logged 76 times
                          2020-10-08T06:39:27.011824: [error ] K-1585: LDAP auth error: Can’t contact LDAP server. Will rebind & retry.
                          2020-10-08T06:39:27.065428: [error ] K-1582: LDAP search error: Can’t contact LDAP server. Will reconnect and retry.

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