Actually we are getting "can't contact ldap server" error while using ldapsearch command itself!!

Gone through the openldap docs in*:%20Can\'t%20contact%20LDAP%20serverand used telnet localhost 389 and got the out put as "Trying
telnet: Unable to connect to remote host: Connection refused"
 and we used the command netstat -an|grep 389 and didn get a output..
how to enable the port no 389?
we tried to open port through iptables..but not able to do that too..we are doing this in debian etch

On Jan 26, 2008 8:37 PM, Michael Ströder <> wrote:
shanmuga priya wrote:
>  I was following the documentation to setup openLDAP stuff -

You should read the OpenLDAP Admin Guide to get the basic concepts not
3rd-party docs which might be distribution-specific and/or wrong/outdated.

Or for 2.3.x:

> I got the following message: Can't contact LDAP Server

This means the LDAP server was unreachable.

> How to overcome this problem??

Hard to say without knowing anything about your setup at all...

Ciao, Michael.

Future is now..