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

Re: openldap lib with netscape directory

At 05:30 PM 2/3/99 -0500, son@wharton.upenn.edu wrote:
>I am writing a simple ldap client using the openldap libraries to search
>for a user and return his/her email. However, there seems to be a bug with
>ldap_simple_bind_s() function. I get back
>ldap_simple_bind_s: Can't contact LDAP server

There is a bug ldap_init dating back to Umich 3.2.  I was only recently
made aware of it, hence the fix will not be available until OpenLDAP 1.2.
In versions prior to OpenLDAP 1.2, use ldap_open() instead.

The fix is available on our 1.2 release engineering branch.  See
http://www.openldap.org/software/repo.html for details on how to
obtain source from our software repository.