[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: LDAP_DEPRECATED
On Wednesday 07 June 2006 12:17, Lise Didillon wrote:
> At 17:01 06/06/06 -0700, Kurt D. Zeilenga wrote:
> >At 08:14 AM 6/6/2006, Lise Didillon wrote:
> > >I use now openldap-2.3.19.
> > >Why do I have to "#define LDAP_DEPRECATED 1" in my program (writen for
> >
> > openldap 2.0.27) to use ldap_init, ldap_add, ldap_add_s, ldap_bind
> > etc....??
> >
> >The requirement for the defining this macro to use deprecated
> >interfaces is intended to ensure the programmer is aware they
> >are using a deprecated interface. Some discussion of why
> >particular interfaces were deprecated may in the devel and/or
> >software list archives.
> >
> > >The only thing I see in the man ldap (3) is that the library in ldap
> >
> > version 2 by default, and ldap_init, ... has diseapered from the list of
> > functions.
> >
> > >where can I find a documentation on the new API and how to replace the
> >
> > deprecated functions?
Maybe "http://en.opensuse.org/OpenLDAP_2.3_libldap_upgrade_howto" is of some
help for you. (I guess I should have added this to the FAQ as well)
--
regards,
Ralf