I'm having a problem logging into my mediawiki account on our local server. Other users are able to login normally. I didn't setup the mediawiki but have taken over administration of it as well as the local servers. It uses the LdapAuthenticationPlugin to authenticate with our LDAP user database. When i try to login using my LDAP user/pass, i just see a blank page with no errors (if i use an invalid password then i receive normal error about wrong password).
On the server the mediawiki is running on, this is what shows up in the httpd/access_log after i click the "Log in" button:
IP-addr - - [08/Nov/2016:14:40:30 -0700] "POST /index.php?title=Special:UserLogin&action=submitlogin&type=login HTTP/1.1" 500 - "https://host/index.php/Special:UserLogin" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
and this is what shows up in the httpd/error_log:
[Tue Nov 08 14:40:30 2016] [error] [client IP-addr] PHP Strict Standards: Declaration of LdapAuthenticationPlugin::modifyUITemplate() should be compatible with AuthPlugin::modifyUITemplate(&$template, &$type) in /var/www/html/extensions/LdapAuthentication/LdapAuthentication.php on line 118, referer: https://host/index.php/Special:UserLogin [Tue Nov 08 14:40:30 2016] [error] [client IP-addr] PHP Strict Standards: Declaration of LdapAuthenticationPlugin::setPassword() should be compatible with AuthPlugin::setPassword($user, $password) in /var/www/html/extensions/LdapAuthentication/LdapAuthentication.php on line 118, referer: https://host/index.php/Special:UserLogin [Tue Nov 08 14:40:30 2016] [error] [client IP-addr] PHP Strict Standards: Declaration of LdapAuthenticationPlugin::addUser() should be compatible with AuthPlugin::addUser($user, $password, $email = '', $realname = '') in /var/www/html/extensions/LdapAuthentication/LdapAuthentication.php on line 118, referer: https://host/index.php/Special:UserLogin [Tue Nov 08 14:40:30 2016] [error] [client IP-addr] PHP Strict Standards: Declaration of LdapAuthenticationPlugin::initUser() should be compatible with AuthPlugin::initUser(&$user, $autocreate = false) in /var/www/html/extensions/LdapAuthentication/LdapAuthentication.php on line 118, referer: https://host/index.php/Special:UserLogin [Tue Nov 08 14:40:31 2016] [error] [client IP-addr] PHP Fatal error: Call to a member function toString() on a non-object in /var/www/html/includes/User.php on line 3639, referer: https://host/index.php/Special:UserLogin
On 11/08/2016 02:25 PM, scar wrote:
I'm having a problem logging into my mediawiki account on our local server. Other users are able to login normally. I didn't setup the mediawiki but have taken over administration of it as well as the local servers. It uses the LdapAuthenticationPlugin to authenticate with our LDAP user database. When i try to login using my LDAP user/pass, i just see a blank page with no errors (if i use an invalid password then i receive normal error about wrong password).
What version of MediaWiki are you running? What version of the LDAP auth extension are you running? Where did you download it from?
-- Legoktm
Legoktm wrote on 11/12/2016 02:49 PM:
What version of MediaWiki are you running?
I can't tell for sure, if click the About link at the bottom of our wiki, I am asked to login. The RELEASE-NOTES file indicates it is 1.25.1
What version of the LDAP auth extension are you running?
According to LdapAuthentication.php, LDAPAUTHVERSION is 1.2e
Where did you download it from?
I didn't download/install it, but would guess that the previous sysadmin downloaded it from the mediawiki site
mediawiki-l@lists.wikimedia.org