Massimiliano Pala wrote:
Hi Rich,
that's not really what I wanted.. I am developing my own ldap client
and I wanted to know what is the code path to set the option.
I tried to use the following:
ldap_set_option(ld, LDAP_OPT_X_TLS_REQUIRE_CERT, "never")
but it always fails ( != 0).
Of course. For ldap_set_option you must use the proper value, e.g.
LDAP_OPT_X_TLS_NEVER.
Also, I would like to know if there's a possibility to set a callback
for the verify of the certificates.
Cheers,
Max
On 06/10/2011 03:05 PM, Rich Megginson wrote:
[...]
TLS_REQCERT<level>
never, allow, try
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/