Last modified 3 years ago
How to synchronize between evolution-2.x and an LDAP server
Quickly check the “members”:
osynctool --showgroup "sync_ldap_with_evolution" Group: sync_ldap_with_evolution Member 2: ldap-sync Member 1: evo2-sync
And the object types available:
osynctool --showobjtypes "sync_ldap_with_evolution"
Member 1 Objtypes:
Objtype contact: Enabled
conversion config: VCARD_EXTENSION=Evolution
conversion config: VCARD_EXTENSION=Evolution
Member 2 Objtypes:
Objtype contact: Enabled
conversion config:
Objtypes for the group:
contact: Enabled
Ok. Now we can try and synchronize the LDAP server with evolution-2.x:
osynctool --sync "sync_ldap_with_evolution"
If we want to avoid any modification and deletion, we can choose “--slow-sync”. This has not so much to do with just a slower synchronization speed. It rather enforces the change type “ADDED” for each entry of each peer. This is the best way to avoid any data loss even in cases when problems arise:
osynctool --sync "sync_ldap_with_evolution" --slow-sync "contact" osynctool --sync "sync_ldap_with_evolution" --slow-sync "event"
