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

Re: (ITS#4884) Back-config inheritance issue



ando@sys-net.it wrote:
> 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.

Something's wrong here, it's only checking structural classes but not 
auxiliary classes. This breaks proxycache now, which uses an auxiliary class 
for the ldadd hook when adding its private DB.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP     http://www.openldap.org/project/