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

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

Howard Chu wrote:
> unix.gurus@gmail.com wrote:
>> 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
> In back-monitor/database.c you don't need to normalize the DNs before
> comparing them. The stored values are already Prettied, so all you need is to
> use a case-insensitive compare here.

Duh. Or just compare a->a_vals and be->be_suffix instead.

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