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

Ldapsearch using -H not working the same as using -h



Title: Ldapsearch using -H not working the same as using -h

Hello All.

I was just wondering whether anyone has seen the following?

> ldapsearch -x -H "ldaps://some.domain.com" -b "ou=people,dc=domain,dc=com" -D "cn=Admin,dc=domain,dc=com" -W "(uid=*)"

This search produces the proper results.  Exactly what I am expecting.

> ldapsearch -x -h "some.domain.com" -p 636 -b "ou=people,dc=domain,dc=com" -D "cn=Admin,dc=domain,dc=com" -W "(uid=*)"
This search, however, does not produce any output.  It cannot even connect to the LDAP server.  Why?  The message I get from the debug log on the server is as follows:

####  Slapd Dedug (-d 128)
TLS: can't accept.
TLS: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol s23_srvr.c:585


The server is running on Redhat 9 and OpenLDAP 2.1.25.  The client is running SuSE 8 and OpenLDAP 2.0.23.  I get the same results when running ldapsearch from the server.

Any thoughts anyone.
Jamie Brannen

BEGIN:VCARD
VERSION:2.1
N:Brannen;Jamie;R A
FN:Jamie R A Brannen
ORG:Brannen Consulting
TITLE:Executive Director
TEL;WORK;VOICE:(506) 363-2292
TEL;CELL;VOICE:(506) 447-9371
TEL;WORK;FAX:(506) 363-2275
ADR;WORK:;;34 Laddie Street;Upper Kingsclear;NB;E3E 1X5;Canada
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:34 Laddie Street=0D=0AUpper Kingsclear, NB E3E 1X5=0D=0ACanada
URL;WORK:http://brannenconsulting.com
EMAIL;PREF;INTERNET:jbrannen@brannenconsulting.com
REV:20031231T014532Z
END:VCARD