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

Re: LDAPDN



one order of dereference; the API of all DN mucking functions uses arrays
of structures rather than arrays of pointers to structures like it
originally did in 2.1.  This api is, say, private to OpenLDAP, and the
change occurred between 2.1 and 2.2.

p.

> Hello,
>
> I just building and installind 2.2.13.
> I try to recompile  my programs but I receive errors :
> error: cannot convert `LDAPAVA*****' to `LDAPAVA****' for argument `2'
> to `int ldap_str2dn(const char*, LDAPAVA****, unsigned int)'
>
> Ok LDAPDN = LDAPAVA****
>
> but the man ldap_str2dn give :
> int ldap_str2dn( const char *str, LDAPDN **dn, unsigned flags )
> typedef LDAPAVA** LDAPRDN;
>        typedef LDAPRDN** LDAPDN;
> On 2.1.22 work like the man.
> What is changed ?
> Thaks in advance
> Guy
>
>


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497