<quote who="Marcin Giedz">
Hello,
I'm looking for some API docs for writing slapd overlays. Is there any?
Use the source! ;-)
Tips:
- Read servers/slapd/overlays/*
- collect.c is an example by Howard.
- Read slapover.txt in that directory too.
- Make sure you copy/reference ones that support dynamic config to work
well with 2.4.x (they'll have schema definitions embedded in them)
Nicely commented overlay at:
http://www.openldap.org/its/index.cgi/Contrib?id=4890;page=3
auditlog.c is nice and short (as should be all overlays, as that's their
point ;-) )
That should get you going.
This will be in a developer section of the main 2.4 guide soonish.
Gavin.
Marcin.