second source ldap for adressbook

Hi everybody,

is it possible to have a second diffrent ldap-source just as adressbook when using z-push with the normal kopano / Active-Directory?
like opnenldap with a global company adressbook synced from CRM and using openldap for diffrent clinets like fax, voip and so on…
thnks,
Sebastian

hello @segro,

just to clearify:
do you mean a totally different server or another namespace in ldap tree?

coffee_is_life

no, a totaly diffrent ldap-server
we have z-push/kopano/samba4-AD setup and a openldap adressbook with a global adressbook, wich is used for the starface Voip as source adressbook. that one is filled from our CRM.

Hi Sebastian,

that would rather be a question for the Kopano Core if and how it’s possible to configure multiple LDAP servers.

What should work anyway if you’d write a python or php script to synchronise data from the openldap into a public or a shared contacts’ folder.

Or maybe you could sync the openldap addressbook into AD and configure kopano to get the address list from AD. However I don’t have a clue if it works, so asking in Kopano Core section or Kopano support is a better option.

Manfred

@manfred said in second source ldap for adressbook:

What should work anyway if you’d write a python or php script to synchronise data from the openldap into a public or a shared contacts’ folder.
Or maybe you could sync the openldap addressbook into AD and configure kopano to get the address list from AD.

This is also what core would suggest

Hi Manfred & Felix,
thank you for your suggestions!
we are using suitecrm (sugarcrm fork) and perhaps I’ll try to dump contacts from there and import it into a public contacts-folder with: https://stash.kopano.io/projects/KSC/repos/core-tools/browse/contacts2csv
but the new python version does not work sooo well when importing to public (even if I use a clean export from a good user contactsfolder)
maybe I will open a new post, if anybody else is intrested here…

[root@mail contacts2csv]#python  contact2csv.py --user demod --export

[root@mail contacts2csv]# python  contact2csv.py --public --folder PUB-CONTACTS --import demod_contacts1.csv
Traceback (most recent call last):
  File "contact2csv.py", line 243, in <module>
    main()
  File "contact2csv.py", line 109, in main
    print('running script for \'{}\'').format(user)
ValueError: zero length field name in format
[root@mail contacts2csv]#

it’s a bit older but, is ther any chance to get this to work with suitecrm + kopano?
https://community.zarafa.com/pg/plugins/project/141/developer/manfred/zmerge-replication-framework

@segro said in second source ldap for adressbook:

maybe I will open a new post, if anybody else is intrested here…

Yes, I would suggest that. Looks like an error that should should be trivial to fix.

@segro said in second source ldap for adressbook:

any chance to get this to work with suitecrm + kopano

Even back in the day this did not really work reliable and with all the changes that have been done to both Zarafa and then Kopano it would be a miracle if it still works.

But since you have mentioned SuiteCRM. They were a sponsor of our last conference and there were some talks about an integration going on. Don’t know the status of that, but it might be worthwhile to ask them about it.