Re: how to do a ldapsearch from a telnet session

From: John Hurley <hurleyjohnb_at_yahoo.com>
Date: Wed, 21 Apr 2010 12:51:38 -0700 (PDT)
Message-ID: <b4390675-410e-4335-9a77-342d8ad8d32a_at_x3g2000yqd.googlegroups.com>



Kat:

> Hi,
> I'm trying to check the status of our OID (10.1.0.4) server running
> OEL 4 from another OEL server by passing a string (cn=mytestdb) and
> I'm hoping to receive an expected string back but I'm getting
> connection closed by foreign host. Is there a configuration change
> that has to be made to open up the access?
>
> $> telnet oidserver 389
> Trying 192.168.2.34...
> Connected to oidserver.
> Escape character is '^]'.
> ldapsearch "cn=mytestdb"
> Connection to oidserver closed by foreign host.
> $>
>
> I'm able to successfully run ldapsearch "cn=mytestdb" directly on the
> oidserver.
>
> Can someone help?
>
> thanks.

Why don't you prove that you can telnet in and run it via a shell script first before trying to figure out why it won't work command line? Received on Wed Apr 21 2010 - 14:51:38 CDT

Original text of this message