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

Re: LDAP_DEPRECATED



thank you for your help

At present, the documentation in this area is quite lacking
(contributions welcomed, see below).  Basically, if you cannot
figure it out on your own (by examination of <ldap.h>, provided
client programs, man pages, software/devel list archives, FAQ,
other means), you should ask this list for help.

be sure I try to search and read documentations before asking the list. I examined the <ldap.h> and searched in FAQ and software list archive but I did'nt search in the devel list archive where effectively there are some mails about LDAP_DEPRECATED :
you said in one of these mail: "I was also curious to how long it would take before some bitched. Sometimes I wonder how much "real" testing goes on when requested. :-) " . sorry, I'm two or three years late but I just ask for informations to be sure I do things in the right way :-)


Lise DIDILLON



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?


At present, the documentation in this area is quite lacking
(contributions welcomed, see below).  Basically, if you cannot
figure it out on your own (by examination of <ldap.h>, provided
client programs, man pages, software/devel list archives, FAQ,
other means), you should ask this list for help.

As you figure things out, feel free to contribute <ldap.h>
and/or documentation updates to help those who come after
you out.

Kurt