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

RE: ldap_explode_dn



Hello,

Many thanks, work now.
this is my code :
ldap_str2dn( pDN, &ava, LDAP_DN_PRETTY );

I'm confused with the function
ldap_dn2str(ava, &pDN, LDAP_DN_PRETTY); // that give assertion error because
the ava is NULL

LDAP_DN_PRETTY is not documented (in 2.1.3)

Suggestion: in the futur it is possible to receive also the documentation in
html format ?


Guy


> -----Original Message-----
> From: Pierangelo Masarati [mailto:masarati@aero.polimi.it]
> Sent: Tuesday, July 16, 2002 5:36 PM
> To: De Leeuw Guy
> Cc: openldap-software@OpenLDAP.org
> Subject: Re: ldap_explode_dn
>
>
> De Leeuw Guy wrote:
> > Hello,
> >
> > Thanks for your respons.
> > But have you eventually an exemple of c source code for
> this function
> > (ldap_dn2str) ?
> > I cannot to imlement this.
>
> ldap_explode_dn() itself, in libraries/libldap/getdn.c :)
> To obtain the old style behavior you need to OR flags
> with LDAP_DN_PRETTY.
>
> Pierangelo.
>
>
>