I remember Michael had said that to make successful SASL bindings, you must examine your DNS settings first, to make sure it can resolve hosname to ipaddress and vice versa correctly.


From: openldap-technical-bounces+qiang.xu=fujixerox.com@OpenLDAP.org [mailto:openldap-technical-bounces+qiang.xu=fujixerox.com@OpenLDAP.org] On Behalf Of mukim pathan
Sent: Thursday, June 18, 2009 1:11 AM
To: openldap-technical@openldap.org
Subject: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)

Hi,

I have installed ldap 2.4.16 with bdb 4.5. When I am doing ldapsearch or ldapadd i am getting error "ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)".
I tried searching for the answers but it seems none of them applies in this case, like permission to ldap, ldap server running on 389, configuration file is good without any spaces in rootdn and suffix.
is there any solution to this??

Regards,
Mukim Pathan