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

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.