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

(ITS#4043) ldap_init deprecated?



Full_Name: Ricardo Ariel Gorosito
Version: 2.3.7
OS: Linux
URL: 
Submission from: (NULL) (200.1.116.14)


in OpenLDAP 2.3.7 ldap_init appears to be deprecated. Quote from ldap.h:

/*
 * in open.c:
 */
#if LDAP_DEPRECATED
LDAP_F( LDAP * )
ldap_init LDAP_P(( /* deprecated */
        LDAP_CONST char *host,
        int port ));
...

RFC 1823, draft-ietf-ldapext-ldap-c-api-xx.txt, and man ldap_open say "At this
time, ldap_init() is preferred. ldap_open() will be depreciated in a later
release."

Thanks in advance