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

Re: ldapsearch and TLS

Chris Majewski wrote:
I'm trying to do an ldapsearch  (or add, or modify, or anything...) on
a server that's doing TLS. Here's what happens:

ldapsearch -h localhost -v -Z -D "uid=me,ou=People,o=cs.ubc.ca" -LLL \
-b "uid=someonelse,ou=People,o=cs.ubc.ca" ldap_init( localhost, 0 )
ldap_start_tls: Connect error
ldap_sasl_interactive_bind_s: Can't contact LDAP server

Here's what the server logs say (-d 1023). Any idea what's going
wrong? The manpages, as usual, incorrectly assume that I already know
what I'm doing.


Add the -x option to ldapsearch.

Dave Lewney
Principal Systems Programmer, IT Services
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273 271956