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

Re: problem using 'ldapsearch'.help!



----- Original Message ----- 
From: "Yanlin Peng" <kamela@mail.ustc.edu.cn>
To: <openLDAP-software@OpenLDAP.org>
Sent: Friday, March 23, 2001 9:17 AM
Subject: problem using 'ldapsearch'.help!


> Hi,all
> I start slapd and add entries ok. I can use 'slapcat' to
> see entries I added. But I run 'ldapsearch' to problem.
> ldapsearch -D "" -x -W -b "" -s base "(objectclass=*)" namingContexts
> Enter LDAP Password:
> ldap_bind: Can't contact LDAP server

Is your network connection good ? Is the ldap server started ?
This kind of error isn't a message for authentication failure or wrong DN.
Look at the connection to the ldap server first.

> I just try to contact local serevr and the passwd is right.
> What's wrong with it?
> 
>