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

Re: trigger script on change to db



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.

Ciao, Michael.