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

Re: Doc API for overlay...



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

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/