[Date Prev][Date Next]
Re: trigger script on change to db
For now I wrote a script that compares the contextCSN of the root object, but I am definitely going to play around with that backend when I get the chance.
All the best,
2011/11/14 Michael StrÃder <email@example.com>
Howard Chu wrote:That's what I was thinking first. But I'd be afraid that a
> 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.
blocking/misbehaving script would lock up slapd. I'd prefer to decouple such
components to be on the safe side.