[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Unable to connect via TLS

At 08:46 AM 7/6/2004, Patrick Radtke wrote:
>putenv( strdup("LDAPTLS_CACERT=PathToCACert"));

I don't recommend this approach.  It would be better
for the program to expect the user to have configured
their environment as they would for OpenLDAP command
line tools, or if it wanted to provide its own configuration
mechanism, to use ldap_set_option(3).