Am Dienstag, 10. Juni 2008 schrieb Emmanuel Dreyfus:
On Mon, Jun 09, 2008 at 09:30:24PM -0700, Howard Chu wrote:
Interesting. Perhaps instead, your overlay should just maintain a fixed entry with a copy of the largest uidNumber in it, instead of searching the entire tree all the time.
FWIW, I had the same need, plus allocating gidNumber, sambaSID and whatever. I do with with a dirty hack that filters the output of an accesslog overlay directed to a shell backend.
One can extend this to all sorts of attributs (email-Adresses, etc). this leds to the fact, that triggers are missing in OpenLDAP.
We user the same sort of "shell-script-daemon" to implement such "triggers" via inotify ... but thats more than sub-optimal ;-)
When I'll have some time, I'd like to write on a slapo-exec, to run external scripts on various conditions. That would be much cleaner.
I would be very glad to get this sort of overlay, possibly extended to the idea of trigger to any attribute .