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

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



-h implies a ldap:// URI.

At 11:17 AM 4/12/2004, Jamie Brannen wrote:

>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