The $this->connection handler in LDAPInterface class is not initialized in initConnection() before it calls getOption(). Since getOption() needs $this->connection to work, the LDAPInterface fails to connect the server when TLS is enabled.

Quick patch attached : replace getOption() call by the real ldap_get_option() call.

Comments

miglius’s picture

Status: Active » Fixed
Issue tags: +tls

Committed the patch. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -tls

Automatically closed -- issue fixed for 2 weeks with no activity.