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

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

Michael Ströder 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.
Hi Michael,

after I've had a quick look into "ldap_bv2dn()" you might be right... ;-)

Before I'll try to upload the patch again (see ITS#6073) I'll update my 
code to include your suggestion.

Many thanks for your advice!

Cheers Daniel