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

Re: ldap_init() & ldap_initialize()



At 05:23 AM 2002-06-07, samuel.osouf wrote:
>Could someone tell me the difference between
>ldap_init() & ldap_initialize() ??

ldap_init() can only initialize LDAP over TCP
sessions.  ldap_initialize() can initialize
LDAP over TCP, LDAP over SSL (over TCP), and
LDAP over IPC.

>what's the purpose of this ldap_initialize() 
>function that drafts don't mention ?

To provide an extensible API for session initialization.

>isn't  ldap_init()  sufficient, as in § 5. of 
>draft-ietf-ldapext-ldap-c-api-05.txt  ?

No.

Kurt