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

Re: (ITS#6072) slapo-collect: dnLength != dnDepth

Michael Ströder schrieb:
> daniel@pluta.biz wrote:
>> I could not find a suitable api-call to determine a DN's depth.
> How about using ldap_bv2dn() and count the DN components?
>> So I've used
>> posix regexp and uploaded that quick&dirty hacked patch right here:
> I guess reg ex splitting won't work for arbitrary DN strings.
> Ciao, Michael.

I finaly managed to upload the patch under "incoming/collect.c.patch"

Instead of using posix regexp I've used the ldap_bv2dn() based methode 
recommended by you. I would appreciate your revise.

This patch does not include slapo-collect's schema-patch that I've filed 
some minutes ago (see: ITS#6075)