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

Re: SSL/TLS again





--On Donnerstag, 23. August 2001 23:57 +0200 Geert Van Muylem <Geert.Van.Muylem@SKYNET.BE> wrote:

Hi,

Can someone tell me which api's to call
for connecting to an LDAP server over SSL/TLS?

To connect to an LDAPS port, ie. a directory server that supports LDAP over SSL, use ldap_initialize with an ldaps URI.
To make use TLS as specified in RFC2830, connect to the LDAP server with LDAP_VERSION set to 3 and then issue the START_TLS extended request.


See ldapsearch for source code.

--
Norbert Klasen
DAASI International GmbH                 phone: +49 7071 2970336
Wilhelmstr. 106                          fax:   +49 7071 295114
72074 Tübingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de