Thread:Extension talk:LDAP Authentication/Login cannot work on 'clear' mode

In Clear mode the login always fail.

Found the problems in l.623 of LdapAuthentication.php

The problem is the 'return false' even on $encryptionType is 'clear'.

// TLS needs to be started after the connection resource is available if ( $encryptionType == "tls" ) { $this->printDebug( "Using TLS", SENSITIVE ); if ( !ldap_start_tls( $this->ldapconn ) ) { $this->printDebug( "Failed to start TLS.", SENSITIVE ); //return false; }               }