I've committed to HEAD a fix that exploits inheritance. The rationale is:
- lookup the structural objectClass; starting from it, check it and subordinates for a function that successfully adds the entry
- using all objectClass values, collect all, including ancestors, that may be of use in checking configuration.
Passes all tests (049->051), and allows to add an overlay using only the overlay's objectClass, provided it's derived from olcOverlayConfig.
Please test. p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.n.c. Via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ------------------------------------------ Office: +39.02.23998309 Mobile: +39.333.4963172 Email: pierangelo.masarati@sys-net.it ------------------------------------------