[reposting after being approved for mailing list]
--------------------------------------------------------

After struggling with this call failing (returns <0):

        // fails on iPlanet LDAP SDK 5.0, works on earlier versions
        ldapssl_client_init( "c:\\foo\\bar\\cert7.db", NULL ) 

I found this thread from a user that seems to have the same problem:

http://groups.google.com/groups?selm=B30C9DBF55CDD3119CA30090277A764B03DF6B19%40xcup03.cup.hp.com

This call worked in older versions of the SDK, but with the LDAP SDK
5.0 you cannot have "cert7.db" in the path. It must be:

        ldapssl_client_init( "c:\\foo\\bar", NULL ) // works 

This is very annoying -- it is both a regression and contrary to the
docs. Anyway, thought I'd post this in case anyone else experiences
the same problem.

http://docs.iplanet.com/docs/manuals/dirsdk/csdk41/html/function.htm#25963
You can either specify the path to the directory containing the
certificate database (in which case the function assumes that the
database file is named cert7.db) or you can include the database
filename in the path.

Jamshid Afshar
[EMAIL PROTECTED]

Reply via email to