Project

General

Profile

Todo #9417

Convert LDAP TLS setup from environment to LDAP_OPT_X_TLS_* set options

Added by Jim Pingle about 1 month ago. Updated 19 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
User manager
Target version:
Start date:
03/21/2019
Due date:
% Done:

100%

Estimated time:

Description

PHP 7.1 added support for configuring the LDAP CA/Cert environment directly, rather than relying on the environment variables. These use new constants named LDAP_OPT_X_TLS_<blah>

For example:

ldap_set_option($ldap, LDAP_OPT_X_TLS_CERTFILE, "{$cert_prefix}.crt");

The use of environment variables may also be contributing to occasional failures of Diagnostics > Authentication testing LDAP logins with/without SSL.

Associated revisions

Revision 996a1ad9 (diff)
Added by Jim Pingle about 1 month ago

LDAP TLS option update. Implements #9417

History

#1 Updated by Jim Pingle about 1 month ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle 19 days ago

See #9433 for an additional example of a problem case solved by this patch

Also available in: Atom PDF