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

RE: Connecting to LDAP 1.2.11



Change the -h switch to "-h ldap.server1211.com" for starters


> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Corisen
> Sent: Tuesday, October 24, 2000 1:14 AM
> To: Patrick Timmons
> Cc: OpenLDAP mailinglist
> Subject: Re: Connecting to LDAP 1.2.11
>
>
> thanks. i tried adding the "-P 2" (protocol ver 2) option but the still
> recevie the following error message:
> ldap_init( ldap.starnet.gov.sg, 0 )
> ldap_bind: Can't contact LDAP server
>
> here's the command that i executed:
> ldapsearch -x -v -P 2 -b "dc=server1211,dc=com" -h
> "dc=ldap.server1211.com"
> "cn=*"
>
> any idea where else could be wrong?
>
> ----- Original Message -----
> From: Patrick Timmons <ptimmons@courriel.polymtl.ca>
> To: Corisen <csyap@starnet.gov.sg>
> Sent: Tuesday, October 24, 2000 2:09 PM
> Subject: Re: Connecting to LDAP 1.2.11
>
>
> > you probably need the option to tell ldasearch to bind with version 2 of
> the
> > protocol. Something like '-v 2'. Check the man page of ldapsearch.
> >
> > Corisen wrote:
> > >
> > > i've a current ldap 1.2.11 server running. i installed on
> OpenLDAP 2.0.6
> > > (using rpm) on another RH7 machine. when i try to query the
> 1.2.11 ldap
> from
> > > 2.0.6 ldap, i alway get "ldap_bind: can't contact ldap server" error
> msg.
> > > i've used the following command "ldapsearch -x -b
> "dc=server1211,dc=com" -h
> > > "dc=ldap.server1211.com" "cn=*". the same command with the "-x" option
> works
> > > when executed on the 1.2.11 server.
> > >
> > > is openldap 2.0.6 commands compatible with 1.2.11?
> > >
> > > kindly advise where i've gone wrong and correct me pls. how
> can i make a
> > > ldapsearch from the machine with openldap 2.0.6 installed?
> > >
> > > thanks.
> >
> > --
> > Patrick Timmons, service informatique
>