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

Finding out what replaces deprecated functions



Dear all,

We're updating some LDAP code in another peice of software, how do we find
out what replaces these functions:

ldap_get_values
ldap_value_free
ldap_search_s
ldap_unbind_s
ldap_init
ldap_simple_bind_s
ldap_unbind

I can see the #if LDAP_DEPRECATED in ldap.h from 2.3.25. Where can I find
out from what version onwards they became deprecated, so we can put the
right error messages in the build, and say something like, "Need greater
than OpenLDAP 2.2.xxx etc."

Obviously if we define LDAP_DEPRECATED=1 through
the build environment, it's fine. But I want to update it.

Thanks,

Gavin.

-- 
Kind Regards,

Gavin Henry.
Managing Director.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/