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

    How to list contents of gab.

    General usage of Z-Push
    4
    15
    1211
    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.
    • externa1
      externa1 last edited by

      Hi,

      I think you missed to run the gabsync script on regulary intervalls - you should run this everytime you add/remove users in your envirenment see:

      https://wiki.z-hub.io/display/ZP/Configuring+GAB-Sync+for+Kopano+OL+Extension

      rg
      Christian

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

        No, I do run that, even manually every time I’ve done a change.

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

          If I am not mistaken one of the recent KOE builds should log the data received from the server to create the GAB.
          Could you specify a bit what is missing? Question would be to find a pattern?

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

            Well, so far we don’t see any pattern. Which is why it would be usefull to get a copy of what is in gab on the server, so we compare what is in ldap and what is in koe, and maybe then find the pattern.

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

              afaik our support had a script to inspect the exported blobs.

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

                @fbartels is that script available somewhere, or should I make a ticket for that?

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

                  Using KOE 1.6#279 or higher logs the GAB data received in the TRACE level. The relevant log lines start with “Parsing chunk”.

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

                    @klausade I don’t know if this is publicly available, but I’m sure support will happily share it with you when you open a ticket.

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

                      So, I’ve made the trace, and managed to make sense of the insane huge log file, thanks for pointing me in that direction. I now see a pattern, and it makes sense to me, it was actually my first suggestion to the person who reported it, but the person claimed my guess was wrong. Anyway, looks like it boils down to this:

                      We have groups of users, like this:
                      cn=Alle Eltern Klasse 01a,ou=Automatically generated entries,ou=Group,dc=something
                      objectClass: posixGroup
                      objectClass: kopano-group
                      objectClass: top
                      gidNumber: 15000
                      description: Alle Eltern Klasse 01a
                      cn: Alle Eltern Klasse 01a
                      kopanoAccount: 1
                      memberUid: M23174

                      And a member looks like this:
                      uid=M23174,ou=Automatically generated entries,ou=Contacts,dc=something
                      objectClass: inetOrgPerson
                      objectClass: kopano-contact
                      objectClass: top
                      mail: klaus@klaus
                      uidNumber: 23174
                      uid: M23174
                      kopanoAccount: 1
                      sn: Smith
                      cn: Smith (Mutter)

                      Well, problem occurs when we have users with the same sn and cn, (but with different uid, mail and uidNumber), like this :
                      uid=M19999,ou=Automatically generated entries,ou=Contacts,dc=something
                      objectClass: inetOrgPerson
                      objectClass: kopano-contact
                      objectClass: top
                      mail: lucy@lucy
                      uidNumber: 19999
                      uid: M19999
                      kopanoAccount: 1
                      sn: Smith
                      cn: Smith (Mutter)

                      If M23174 is member of cn=Alle Eltern Klasse 01a and M19999 is member of cn=Alle Eltern Klasse 08a, then only one of them will show up, in the list in GAB.

                      But, it is just fine in Deskapp/webapp.

                      I could work around this by making sure they all have different sn and cn, maybe prefix with the class, or something.

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

                        Are these users in the KOE log? From the gab-sync point of view, entries need a different UID to be processed (which is the case), so they should all be logged in KOE.
                        It could be that KOE is not able to handle them when having the same sn and cn.

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

                          @Sebastian no, looks like if there is someone with the same sn and cn, but different uid, then only one instance ends up in gab/koe.

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

                            @klausade yes, I understood that.
                            As far as I can tell now, from the gab-sync point of view, they should both be in the KOE log. Are they?

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

                              @Sebastian My head hurts … I’ve narrowed it down a bit more. Looks like cn have to be uniq, along with uid. The answer to your question, looking at the KOE log from yesterday, i that “no, only one instance is present in the koe log”.

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

                                @klausade , could you open a support ticket for this issue and send us the complete KOE-log when performing a GAB resync?

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