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

trigger script on change to db

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).

Basically we have a bunch of flat files that are created and
maintained based on information kept in slapd which need to either:
- run every X time and just dumbly regenerate the files.
- run every X time and somehow establish whether changes happened
before regenerating the files (maybe by using the contextCSN attribute
of the root object)
- run whenever a change happens

In a situation with not too many changes the third option is best, and
in situations with lots of changes the second option is probably
But is the third option even possible?

Thanks and best regards,