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

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



unix.gurus@gmail.com wrote:
> Hi,
>
> On Tue, Jun 24, 2008 at 12:50 PM, Sean Burford<unix.gurus@gmail.com>  wrote:
>> namingContexts was the trickiest, since RFC 4512 defines it without an
>> equality matching rule but monitor_back_register_database() compares
>> it with backend suffixes.  It has to deal with capitalised values
>> properly otherwise we end up with duplicate namingContexts entries, so
>> normalization is required.
>
> I have uploaded
> ftp://ftp.openldap.org/incoming/sean-burford-monitor-test-080706.patch
> which adds a test for various things under cn=monitor.  If duplicate
> namingContexts creep in (as mentioned above) it detects that.
>
> The duplicate naming contexts thing was fixed by comparing a_vals with
> be_suffix, I just wrote the test since there was no existing
> cn=monitor test.

Sorry for dropping the ball on this. These last two patches are now committed 
in HEAD.

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