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

Re: Connection to another LDAP server



apologies for my typing mistake.
i've geniunely executed: ldapsearch -v -P 2 -x -b "dc=server1211,dc=com" -h
"ldap.server1211.com" "cn=*"

ive also tried with:
-h ldap.server1211.com
"-h ldap.server1211.com"

but the error message is still:
ldap_init( ldap.starnet.gov.sg, 0 )
ldap_bind: Can't contact LDAP server

where did i go wrong?

----- Original Message -----
From: Julio Sánchez Fernández <j_sanchez@stl.es>
To: Corisen <csyap@starnet.gov.sg>
Cc: OpenLDAP mailinglist <openldap-software@OpenLDAP.org>
Sent: Wednesday, October 25, 2000 3:22 PM
Subject: Re: Connection to another LDAP server


>
>
> Corisen wrote:
> >
> > 1. i've an existing LDAP server (ldap.server1211.com) running OpenLDAP
> > version 1.2.11 on RH6.2
> > 2. i've installed OpenLDAP 2.0.6 (using rpm) on another separate machine
> > running RH7.
> > 3. both machines are on the same network.
> > 4. i executed this command on the LDAP 2.0.6 machine:
"ldapsearch -x -v -P
> > 2 -b "dc=server1211,dc=com" -h "dc=ldap.server1211.com" "cn=*"
> >
> > 5. i was unable to connect and perform search on the LDAP 1.2.11 server
from
> > the machine with OpenLDAP 2.0.6 installed.
> > 6. the following error message was displayed upon execution of the
command
> > from the LDAP 2.0.6 machine:
> > ldap_init( ldap.starnet.gov.sg, 0 )
> > ldap_bind: Can't contact LDAP server
> >
> > pls kindly advise.
>
> I kindly advise you start reading the answers, I think I have seen at
> least two different people answering you:
>
> -h "dc=ldap.server1211.com"
>
> is bogus, that switch takes a host as an argument, so make it:
>
> -h ldap.server1211.com
>
> Then, when you have tried that, come again and tell us how it went.
>
> Julio