Problems with ldapssl_client_init (WIN32)

Rufus Bheekhee <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <3da4719d-e77e-42a0-98e0-8a6965a25474@y38g2000hsy.googlegroups.com>
Hi

I am have successfully connected to a Linux LDAP server using
ldap_init however when I try to connect using SSL, I suffer problems
using the ldapssl_client_init call as it always returns -1!

I have googled the problem and have used both the database path "C:\
\certs" and included the filename "C:\\certs\cert7.db" in the path
with no joy. I have also tried and earlier LDAP SDK 5.2 but that
doesn't work either.

I have also ensured that the folder contains cert7.db AND cert8.db to
cover both bases but ldapssl_client_init still returns -1.

I am using the compiled LDAP C SDK 6.0.3. binaries for Windows from
ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v6.0.4/
this seems also to include all the required NSS (3.11.4) and NSPR
libraries.

I also noticed that Saurabh Chopra had a similar problem but I cannot
not even get it to work with LDAP C SDK 5.2. Unlike Saurabh I'm using
Windows as my client not Red Hat.

Please help!

Thanks

Rufus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.