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

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

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.