On Thursday, 7 October 2010 20:32:49 Nick Milas wrote:
It all started for me when I wanted to watch a serial number value from an ldap-stored SOArecord (using powerdns with openldap backend) and when it changes to fire a bash script. I reached the conclusion it was not easy to be done with higher-level means within openldap and I created a bash script which scans (using ldapsearch and other linux tools) the SOArecords regularly (using cron) to find out if any change has happend and do whatever is required. It would be much more elegant if I could get a trigger from openldap when the SOArecord changes.
Maybe you need this:
http://memberwebs.com/stef/software/slapi-dnsnotify/
A more generic solution would be nice, but as far as I can tell, this software satisfies your current need.
Regards, Buchan