Michael,
My test code is like this:
---------------
#include "auth_ldap.h"
main ()
{
   int rv;
   rv = ldapssl_client_init(/home/elwinho/.netscape, NULL);
   fprintf (stderr, "Return Value %d\n", rv);
}
-------------
This program always return -1.
I have a certificate in /home/elwinho/.netscape/cert7.db.
Please advise

Thanks
Elwin Ho


-----Original Message-----
From: Michael Hein [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 12, 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: Re: SDK 5.0 failed


Is the certificate part of your path?  If so, try to take it out.

Michael

"HO,ELWIN , HP-Cupertino,ex1" wrote:

> Hi
> Anyone use "iPlanet Directory SDK for C 5.0  HP-UX 11.0 optimize" before.
> I tried this lib for SSL connection.
> The code is like this. (From auth_ldap)
> ----------
>    if ( ldapssl_client_init(path, NULL) != 0)
>     return "Could not initialize SSL client";
>   else
>     return NULL;
> -------------
> It always return failed.
>
> I use the same code for SDK 4.x without any problem.
>
> Thanks
>
> Elwin

Reply via email to