Has anyone successfully got the Netscape LDAP SDK to talk to an SSL
server written using openssl.

On my server I have done...

SOCKET sock;
m_pSSLContext = SSL_CTX_new( SSLv23_client_method());
m_pSSL = SSL_new(m_pSSLContext))
SSL_set_fd(m_pSSL, sock);
SSL_accept(m_pSSL);

On my client...

ldapssl_client_init("c://temp//cert7.db", NULL);
pSession = ldapssl_init(HOST, SPORT, 1);
ldap_simple_bind_s(pSession, pszUserID, pszPassword);

However, my server call to SSL_accept() falls over, I know that the
certificates probably don't match but is there something more
fundamental I am missing out?

The docs aren't much help...

Tat.
begin:vcard 
n:Kong;Tat Sing
tel;fax:+44 (0)161 833 3636
tel;work:+44 (0)161 833 3777
x-mozilla-html:FALSE
url:www.consegna.co.uk
org:Consegna Advanced Technlogies Ltd
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Technical Architect
adr;quoted-printable:;;1st Floor=0D=0A30-32 Thomas Street=0D=0A;Manchester;;M4 1ER;
fn:Tat Sing Kong
end:vcard

Reply via email to