I would like to get OpenLDAP to trigger a GCDS sync whenever either certain attributes are modified or even anything the DB, if it isn't possible to limit it to certain attributes.
I am thinking along the lines of OpenLDAP calling some external program after a modification, but if there is another way to do this that I am missing, I am all ears. I have looked at the various overlays but none seem relevant.
Has anyone done this or have general suggestions?
Brian
--On Tuesday, October 16, 2018 4:10 PM -0700 Brian Hill bchill@bch.net wrote:
Has anyone done this or have general suggestions?
Use your own custom syncrepl client that "listens" for changes and executes whatever action anytime a relevant change is made.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
Am Tue, 16 Oct 2018 15:10:16 -0700 schrieb Brian Hill bchill@bch.net:
I would like to get OpenLDAP to trigger a GCDS sync whenever either certain attributes are modified or even anything the DB, if it isn't possible to limit it to certain attributes.
I am thinking along the lines of OpenLDAP calling some external program after a modification, but if there is another way to do this that I am missing, I am all ears. I have looked at the various overlays but none seem relevant.
Has anyone done this or have general suggestions?
Based on perldoc Net::LDAP::Control::SyncRequest i built a script that monitors modifications to the database.
-Dieter
Hi Dieter,
Is your script publicly available, by any chance? Thanks.
On 10/17/18 6:59 AM, Dieter Klünter wrote:
Am Tue, 16 Oct 2018 15:10:16 -0700 schrieb Brian Hill bchill@bch.net:
I would like to get OpenLDAP to trigger a GCDS sync whenever either certain attributes are modified or even anything the DB, if it isn't possible to limit it to certain attributes.
I am thinking along the lines of OpenLDAP calling some external program after a modification, but if there is another way to do this that I am missing, I am all ears. I have looked at the various overlays but none seem relevant.
Has anyone done this or have general suggestions?
Based on perldoc Net::LDAP::Control::SyncRequest i built a script that monitors modifications to the database.
-Dieter
Brian Hill wrote:
I would like to get OpenLDAP to trigger a GCDS sync whenever either certain attributes are modified or even anything the DB, if it isn't possible to limit it to certain attributes.
I am thinking along the lines of OpenLDAP calling some external program after a modification, but if there is another way to do this that I am missing, I am all ears. I have looked at the various overlays but none seem relevant.
Has anyone done this or have general suggestions?
If you want GCDS to receive every change, just set up a syncrepl consumer on a back-ldap backend, pointed to GCDS.
openldap-technical@openldap.org