my only guess can be an incomplete NSS build, for instance maybe
freebl3.chk missing or something like that. try grabbing a build 
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_4_RTM/msvc6.0/WINNT5.0_OPT.OBJ/
or try building one yourself.

Rufus Bheekhee wrote:
> Hi Anton,
> 
> Thanks for the PR_GetError() tip, I got -8192 code which I looked up
> and read a comment you made about a missing freebl library.
> 
> I added the library and it now works in LDAP 5.17 but does nothing for
> LDAP 6.0.3 (the linker loads and then unloads freebl3.dll)
> 
> I'm stumped to why it works with LDAP 5.17... I may stick to the older
> version as it works but if you can shed light on what might be going
> on.
> 
> Regards
> 
> Rufus
> 
> On Jul 31, 6:56 pm, Anton Bobrov <[EMAIL PROTECTED]> wrote:
>> have you tried calling perror() and PR_GetError() ? 
>> seehttp://www.mozilla.org/projects/security/pki/nss/ref/ssl/sslerr.html
>> for the later. that should give you some more information
>> on what the issue might be.
>>
>> Rufus Bheekhee wrote:
>>> 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
>>> _______________________________________________
>>> dev-tech-ldap mailing list
>>> [EMAIL PROTECTED]
>>> https://lists.mozilla.org/listinfo/dev-tech-ldap
> _______________________________________________
> dev-tech-ldap mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-ldap
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to