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

RE: Normalized DN (Was: Re: commit: ldap/servers/slapd acl.c slap.h value.c)



> -----Original Message-----
> From: Pierangelo Masarati [mailto:ando@sys-net.it]

> > Log Message:
> > Added SLAP_MR_VALUE_NORMALIZED_MATCH, avoid redundant normalize when
> > calling value_find with already-normalized DNs
>
> Good catch; however, I'd like to move around some DN structure
> that contains pretty, normalized, and decomposed DNs, which are
> computed as soon as they are required but not sooner, and used
> as are if already available.  I think this would really be a plus,

Yes, I think so. It's something I was going to do internal to back-hdb, but
would obviously be more useful all around.

> although it would require to rewrite nearly every single piece
> of code :(

Yes... Yet another overhaul. Must be something in the air, we got into the
struct berval overhaul around this time last year.  ;)

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support