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

Re: (ITS#5540) Normalization assertion in attr.c



unix.gurus@gmail.com wrote:
> I've uploaded a patch that adds an equality matching rule to the
> schema for olcRootDN and olcSchemaDN so that the normalization matches
> the schema.  These attributes are already normalized wherever they are
> generated, and their normalized values are used in bvmatches, so
> removing the nvals instead of modifying the schema would result extra
> normalization calls later.
> ftp://ftp.openldap.org/incoming/sean-burford-rootdn-080628.patch

Committed, thanks.

> If someone wants to accept or comment on what needs fixing in the
> patch below, that would help me to generate the rest of the patches:
> ftp://ftp.openldap.org/incoming/sean-burford-monitor-normalize-unified-080624.patch

If it makes life easier, we can add the DN eq rule to monitorContext and 
configContext. Since they're OpenLDAP-specific attributes we can make this 
change without any repercussions.

IMO, it really needs to be added to namingContexts since that's multivalued.
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/