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

    gab2contacts with univention not syncing LDAP Kopano contacts

    Z-Push when using Kopano
    3
    33
    3657
    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.
    • raceface2nd
      raceface2nd last edited by raceface2nd

      Hi Manfred,

      that explains why the sync is not working. Unfortunately there is no option in the Kopano4UCS LDAP contacts to enter a user name. The only option is a displayname which does not seem to be the same like the username.

      0_1524664079035_428651c8-7a09-4d4f-9c8c-963e1401a7ac-image.png

      It looks like that this displayname is stored in a different way in the LDAP by Kopano4UCS so it is not synched into the GAB. Maybe @fbartels knows more about the workflow behind the sync of these contacts into the GAB?

      The Kopano4UCS LDAP contacts are stored in the LDAP scheme like in following screenshot.
      0_1524664564092_1190d032-69ef-4de9-8f80-ade77d9268db-image.png

      Regards!

      Andy

      1 Reply Last reply Reply Quote 0
      • Manfred
        Manfred Kopano last edited by

        Hi Andy,

        what values are in the objectClass property of a contact?

        Manfred

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

          Hi Manfred,

          please find a screenshot with the expanded objectClass below:

          0_1524691438996_4c5983cf-7d88-4629-9377-fd497394a5cb-image.png

          Andy

          1 Reply Last reply Reply Quote 0
          • Manfred
            Manfred Kopano last edited by

            Hi Andy,

            I’ve created a new kopano-contact in my LDAP using just person, inetOrgPerson, top and kopano-contact classes, but it still got the accountname field set. I’m out of ideas now, so I guess we’ll have to wait if Felix has any idea (he’s currently out of the office until mid of next week) what’s different in the UCS’ LDAP.

            Manfred

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

              Hi Manfred,

              Okay, let’s wait then.

              Andy

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

                I just did a quick check on my univention system and I don’t see the duplication of objects when running gab2contacts again.

                My contact looks as followed:

                dn: cn=First Last,cn=contacts,cn=kopano,dc=univention,dc=de
                kopanoAccount: 1
                cn: First Last
                objectClass: person
                objectClass: inetOrgPerson
                objectClass: kopano-contact
                objectClass: kopano4ucsObject
                objectClass: top
                objectClass: univentionObject
                univentionObjectType: kopano/contact
                kopanoHidden: 0
                univentionObjectFlag: functional
                sn: Last
                givenName: First
                mailPrimaryAddress: mail@test.com
                

                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
                • raceface2nd
                  raceface2nd last edited by

                  Sorry for the radio silence have been busy out of office.
                  @fbartels : that’s kind of weird.

                  Is it correct, that there is no display name of the Kopano LDAP contacts displayed in the GAB?

                  0_1526294975336_e1a3cd52-e0a7-4142-8be2-fbda422b9a1d-grafik.png

                  0_1526295010074_fa7a6e41-5771-498b-bdb6-1075dbd9cce5-grafik.png

                  I recognized that I only have this behaviour of doubled entries when I create 2 or more LDAP entries at a time and run gab2contacts afterwards. When I only create 1 entry gab2contacts works like a charm with the mod from Manfred.

                  Andy

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

                    I do have a display name configured on my system:

                    0_1526396275172_f01bfdf1-1ef7-4d5e-b480-15d79edccc81-image.png

                    But cn is actual the default value for the display name (as given in /usr/share/kopano/ldap.openldap.cfg), so I’m wondering why its empty for you.

                    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
                    • raceface2nd
                      raceface2nd last edited by raceface2nd

                      @fbartels : Unfortunately the display name stays empty independent how many kopano-contacts I create. Do you mean the ldap_fullname_attribute = cn entry in /usr/share/kopano/ldap.openldap.cfg?

                      Is there a way to readout the GAB entries with the command line?

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

                        @raceface2nd said in gab2contacts with univention not syncing LDAP Kopano contacts:

                        Do you mean the ldap_fullname_attribute = cn entry in /usr/share/kopano/ldap.openldap.cfg?

                        No, user defined configuration should be placed into /etc/kopano (in this case into the ldap.cfg file).

                        @raceface2nd said in gab2contacts with univention not syncing LDAP Kopano contacts:

                        Is there a way to readout the GAB entries with the command line?

                        On univention there is ´univention-ldapsearch´. The following command lists all user objects (contacts are after all also user objects) that match the configured filter in Kopano:

                        univention-ldapsearch $(ucr get kopano/cfg/ldap/ldap_user_search_filter)

                        I don’t suppose you have a Kopano subscription, so one of our supporters could have a look on your system?

                        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
                        • raceface2nd
                          raceface2nd last edited by

                          @fbartels said in gab2contacts with univention not syncing LDAP Kopano contacts:

                          No, user defined configuration should be placed into /etc/kopano (in this case into the ldap.cfg file).

                          Don’t want to touch this file as it looks to me that it is how it has to be.

                          @fbartels said in gab2contacts with univention not syncing LDAP Kopano contacts:

                          I don’t suppose you have a Kopano subscription, so one of our supporters could have a look on your system?

                          Correct, I don’t have a subscription. Should I provide an SSH account for one of your supporters?

                          Andy

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

                            @raceface2nd said in gab2contacts with univention not syncing LDAP Kopano contacts:

                            Should I provide an SSH account for one of your supporters?

                            You could get in contact with our sales team on an offer for remote help. This would probably resolve this issue (that we are already in the 30th reply and that is going on for a month) within a few minutes.

                            https://kopano.com/contact/

                            If this is nothing you want to do, i’d recommend to setup another Univention in a test environment and compare configuration files.

                            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
                            • raceface2nd
                              raceface2nd last edited by

                              Okay, thanks for your help until this point! I will check with the sales team in the next days.

                              Andy

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

                                I checked on another server that the display names of Kopano contacts are displayed correctly. Also my config files differ extremely. Maybe this is related to the fact that my UCS runs already some years.
                                We decided to leave it like it is right now and migrate to a new server in the next weeks.

                                Thx again!

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