Last modified: 2013-08-20 04:38:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54649, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52649 - After upgrade MediaWiki and LdapAuthentication - Failed to authenticate
After upgrade MediaWiki and LdapAuthentication - Failed to authenticate
Status: RESOLVED DUPLICATE of bug 44168
Product: MediaWiki extensions
Classification: Unclassified
LdapAuthentication (Other open bugs)
REL1_21-branch
All Linux
: Unprioritized normal (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-08 11:59 UTC by Machado
Modified: 2013-08-20 04:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
LdapAuthentication Schema Extension for Postgres (269 bytes, text/x-sql)
2013-08-08 11:59 UTC, Machado
Details

Description Machado 2013-08-08 11:59:59 UTC
Created attachment 13074 [details]
LdapAuthentication Schema Extension for Postgres

We have just upgraded MediaWiki from v1.16.2 to v1.21.1, and also upgraded extension LdapAuthentication (v2.0c-18-g013532d).

Here we post our problem and the solution we implemented. We would like to a  confirmation if this is a valid solution and/or if some additional procedure is needed.

Thank you!

Problem: Authentication fails because of LdapAuthentication extension missing schema update.
We tried to run several times php maintenance/update.php, but problem is not solved. 

Solution: After some reading, we found that schema update for LdapAuthentication is not working. So we did this manually, using as reference extensions/LdapAuthentication/ldap.sql file. We changed this file for our postgres setup. We attached to this ticket the file we used.

The command issued to update schema:
psql -U mwuser mediawikidb -f ldap-v5.sql

Now everything looks fine.

More information on our setup:
  Product            Version
  MediaWiki          1.21.1
  PHP                5.3.3-7+squeeze1
  PostgreSQL         9.1.7-1
  LdapAuthentication 2.0c-18-g013532d
Comment 1 Ryan Lane 2013-08-20 04:38:35 UTC

*** This bug has been marked as a duplicate of bug 44168 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links