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

RE: LDAPSearch/Add: Can't Contact Server



Looks like the problem was with Red Hat installation.  The DNS did not have
a proper mapping for the hostname -> IP address, and the ldap utilies must
have been doing a gethost on the name.

Thanks for the help!
Kumar.

-----Original Message-----
From: Jim Dutton [mailto:jimd@dutton3.it.siu.edu]On Behalf Of
jimd@siu.edu
Sent: Monday, February 19, 2001 6:10 PM
To: kumar.k.e.venugopal@cgiusa.com
Subject: Re: LDAPSearch/Add: Can't Contact Server


It could be SLAPD on non-standard port and no port number given with
LDAPxxx. It could be misspelled hostname.

It could be ACL not allowing access.

LDAPxxx have DEBUG flags which might or might not help.


On 19 Feb, kumar.k.e.venugopal@cgiusa.com wrote:
> I am running OpenLDAP 2.0.7 on Red Hat 7.0.  The slapd processes are up
> according to "ps."  And I can connect to the directory server from a JNDI
> Java application.
>
> But when I try to use ldapsearch or ldapadd (with simple authentication
> using root dn and password) it gives me the error message "Can't contact
> LDAP server."