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

RE: dnParent()

> -----Original Message-----
> From: masarati@aero.polimi.it [mailto:masarati@aero.polimi.it]

> Howard, I'd like to replace all the occurrences of dn_parent,
> a lot of which are in back-bdb, with a more efficient function
> (which is dnParent in an enhanced form). Can I safely assume
> that bdb_dn2id*() is always invoked with a NORMALIZED dn
> (e.g. coming out of dnNormalize or related function)?

Yes, only normalized DNs are used. Your changes look fine.

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