• Hello

    We have an up to date version of Kopano running on a Centos7 with z-push 2.5.

    The GAB is not working and we don’t know how to find this issue.
    Maybe one here can help.

    Issue:

    Client with OL 2019 and Kopano OL Extension.
    Writes a Global Address book entry.
    No issues creating a new Contact there.

    But.

    Once we sync the GAB from the server.
    ./gab-sync.php -a sync

    Then that entry will be lost! : O

    Or.
    We don’t sync the GAB from the server.
    Then that Contact will only stayl with that client.

    The issue seems to be that the GAB Sync only pushes data it already has to the users. And not the other way around.
    Which leads to all locally created data by the users into the GAB being deleted…

    So how can the GAB be synced with not deleting user data?
    How would we debug this?
    Is there any documentation that we missed?

    ===========================================================================
    GAB SYNC OUTPUT

    [user@server gab-sync]# ./gab-sync.php -a sync
    
    Starting GAB sync to store 'SYSTEM'  on id 'e53467c028aa4d509cf24311da82655da6c707000000'
    Kopano->clearAllNotCurrentChunkType: no invalid items, done!
    
    Kopano->setChunkData: account-10/6      Entries: 2       Size: 1314 B   CRC: 46e031fdb4a9925fbe0144eb4b13c97e  -  unchanged
    Kopano->setChunkData: account-10/2      Entries: 1       Size: 713 B    CRC: 63a9d55deefc2d59452234e295bf1a6c  -  unchanged
    Kopano->setChunkData: account-10/8      Entries: 2       Size: 1352 B   CRC: 5f53f4ef11317000aecf1c5d48768385  -  unchanged
    Kopano->setChunkData: account-10/0      Entries: 1       Size: 660 B    CRC: 626c4e4e685420996c550e579b4e8f73  -  unchanged
    
    Sync:
            Items in GAB:                   6
            Total data size:                4039 B
    
            Avg. of items per chunk:        1.5
            Min. of items per chunk:        1
            Max. of items per chunk:        2
    
            Avg. of size per chunk:         1009 B
            Min. of size per chunk:         660 B
            Max. of size per chunk:         1352 B
    
            Configured amount of chunks:    10
            Ideal amount by entries:        5
            Ideal amount by size:           5
    


    Marc

  • Kopano

    @pfl said in GAB Issues:

    We have an up to date version of Kopano running on a Centos7 with z-push 2.5.

    this is not really relevant to your question, but what may be “an up to date version” for you, may not mean the same to me. Also reading this topic a year from now it will again mean something completely different.

    @pfl said in GAB Issues:

    Client with OL 2019 and Kopano OL Extension.
    Writes a Global Address book entry.
    […]
    But.
    Once we sync the GAB from the server.
    […]
    Then that entry will be lost! : O

    This is kind of expected, apart from the detail that the contact folder should normally have been created read-only in Outlook. This is a pure one way sync server to client. You are not supposed to be able to create entries in the client.


  • @fbartels Thanks for the reply.

    So do I understand correctly?
    The GAB can only be synced from the Server to the Client and not from the Client to the Server?

    This would bring me to the question.
    How should users create contacts in the GAB?


    Thanks

  • Kopano

    @pfl said in GAB Issues:

    The GAB can only be synced from the Server to the Client and not from the Client to the Server?

    Yes, exactly this.

    @pfl said in GAB Issues:

    How should users create contacts in the GAB?

    Normally they don’t. The GAB is read only for Kopano itself (e.g. kopano-server cannot/will not write changes back to the LDAP for it).

    If you want to have a shared addressbook then the way to achieve this would be to have this either in a shared store or in the public folder (with matching read/write access for the users you want to enable managing/seeing it).


  • Okay I see thx for this.

    We experimented with public folders already. Maybe you could elaborate a bit here.
    The issue we had with the public folder was, that the users can’t create “Contact Groups”. Is there a workaround for this?

    Also how do we set the permissions on the public folder.
    We cant figure out where these are?
    –list-folder-permissions doesn’t show the public folder.


    Marc

  • Kopano

    @pfl said in GAB Issues:

    The issue we had with the public folder was, that the users can’t create “Contact Groups”. Is there a workaround for this?

    Yes, that is a general limitation of the ActiveSync protocol. The recommended way would be to use WebApp/DeskApp instead. Through WebApp/DeskApp you will also be able to setup permissions.