Re: OpenLDAP and Google Cloud Directory Sync

2018-10-19 Thread Styopa Semenukha

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 :


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



--
Best regards,
Styopa Semenukha,
Senior IT Analyst at Development Gateway.



Re: OpenLDAP and Google Cloud Directory Sync

2018-10-17 Thread Howard Chu
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.

-- 
  -- Howard Chu
  CTO, Symas Corp.   http://www.symas.com
  Director, Highland Sun http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/



Re: OpenLDAP and Google Cloud Directory Sync

2018-10-17 Thread Dieter Klünter
Am Tue, 16 Oct 2018 15:10:16 -0700
schrieb Brian Hill :

> 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

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E



Re: OpenLDAP and Google Cloud Directory Sync

2018-10-16 Thread Quanah Gibson-Mount
--On Tuesday, October 16, 2018 4:10 PM -0700 Brian Hill  
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:





OpenLDAP and Google Cloud Directory Sync

2018-10-16 Thread Brian Hill
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