[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: trigger script on change to db

2011/11/14 Michael StrÃder <michael@stroeder.com>
> Howard Chu wrote:
> > Michael StrÃder wrote:
> >> E.S. Rosenberg wrote:
> >>> I was wondering is it possible to set a slapd syncprov consumer to
> >>> trigger a script when it receives changes to the db (updates of
> >>> specific attributes).
> >>
> >> You might want to try something with a synclrepl consumer served by back-sock.
> >> But I think getting this right is almost as much work as implementing your own
> >> syncrepl client.
> >
> > That's almost on the right track. Use back-sock as an overlay.
> That's what I was thinking first. But I'd be afraid that a
> blocking/misbehaving script would lock up slapd. I'd prefer to decouple such
> components to be on the safe side.
If the consumer is not a master I would assume that a misbehaving
script would only block the instance running the consumer and not the
actual LDAP servers running on other machines, or am I making a wrong
assumption here?

> Ciao, Michael.