I am having an issue with the LdapAuthentication module working on PHP 5.6.11. I know it was working fine on PHP 5.6.10.
I am using the docker container synctree/mediawiki as my base. I then have updated mediawiki from 2.24 to 2.25 and installed the LdapAuthentication module.
The synctree/mediawiki container uses the official php container as it's base. On July 10, 2015 they updated this container from php 2.6.10 to php 2.6.11. This is when I noticed the LdapAuthentication module stop working.
I am using this download of MediaWiki:
https://releases.wikimedia.org/mediawiki/1.25/mediawiki-1.25.1.tar.gz
I am using this download of LdapAuthentication module:
https://extdist.wmflabs.org/dist/extensions/LdapAuthentication-REL1_25-d4db6f0.tar.gz
The error message I am getting from the error log:
PHP's LDAP connect method returned null, this likely implies a misconfiguration of the plugin.
When I change line 605 in extensions/LdapAuthentication/LdapAuthentication.php from :
$this->ldapconn = LdapAuthenticationPlugin::ldap_connect( $servers );
to:
$this->ldapconn = LdapAuthenticationPlugin::ldap_connect( "ldap://wiki_ldap:389" );
The connection works. ("ldap://wiki_ldap:389" is what is displayed as the value of $servers on the debug line on linenumber 602)