[Date Prev][Date Next]
run command when change to ou=something,dc=example,dc=com was made?
- To: openldap <openldap-software@OpenLDAP.org>
- Subject: run command when change to ou=something,dc=example,dc=com was made?
- From: Tomasz Chmielewski <email@example.com>
- Date: Tue, 13 Sep 2005 15:52:32 +0200
- User-agent: Mozilla Thunderbird 1.0.6-5mdk (X11/20050322)
I have a program that reads data from ou=something,dc=example,dc=com,
and then creates config files out of it.
It currently runs from cron, but as the changes are made rather seldom
(but should be made almost immediately), I feel that this constant
pulling of OpenLDAP server, creating config files, running from crontab
every few minutes is a little waste of resources.
Is it possible to configure OpenLDAP in a way, that when a change to
ou=something,dc=example,dc=com was made (and *only* to ou=something; it
shouldn't notify if the change was done to ou=Users etc.), it executes a
command/creates a file etc.?