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

Re: ldap_simple_bind_s gives error



At 12:02 PM 3/26/99 -0500, Himanshu wrote:
>I wrote a simple client program that connects using ldap_simple_bind_s()
>function. When I run the code it gives an error saying 'can't contact LDAP
>server'
>On the other hand if I use ldap_open() function,instead,  I am able to
>connect as well as perform search on it.
>Any clues ????

Yes.  ldap_init() was non-functional in U-Mich 3.3 and, hence,
early versions of OpenLDAP.  It was fixed in OpenLDAP 1.2.

Kurt