Re: Kolab Webadmin -> run script

Jan Kowalsky <[email protected]>
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <[email protected]>
Hi Hede,

Am 11.11.2018 um 12:04 schrieb hede:
> does anybody know a simple way of triggering a shell script after changing something (ldap) within the Kolab Web Admin? 
> 
> I would like to sync the available Email addresses from kolab to some other mail host – without using a direct ldap connection between those hosts.

I would start to search here:
https://git.kolab.org/diffusion/WAP/browse/master/lib/client/kolab_client_task_user.php

At least for adding users it is the right starting point. It should be
easy to trigger any command from inside the save function.

Another approach: search continuously for modified ldap entries with
ldapsearch and 'modifytimestamp=<SOMETHING'. If your ldap directory
isn't too big, it should be sufficient and you don't have to change the
kolab code (which could get broken after next update).

Regards
Jan


_______________________________________________
users mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.