Last modified: 2014-10-06 13:38:59 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 T73703, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71703 - AutoAuthSetup providing empty userID
AutoAuthSetup providing empty userID
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
LdapAuthentication (Other open bugs)
REL1_19-branch
All All
: Unprioritized normal (vote)
: MW 1.19 version
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-06 13:38 UTC by Ignacio Gonzalez
Modified: 2014-10-06 13:38 UTC (History)
0 users

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


Attachments

Description Ignacio Gonzalez 2014-10-06 13:38:59 UTC
I've notice the kerberos authentication from LdapAuthentication-REL1_19-e378be4 (the version you can get from mediawiki) is broken.

I've trying from some time to get this working on our setup, but I was getting and empty user id from the kerberos authentication.

So I've notice on the function AutoAuthSetup seems to be an error on the line:

     if ( !$wgAuth->getConf( 'AutoAuthUsername' ) ) {

I've replaced to:

      # We need both authentication username and domain (bug 34787)
      if ( $wgAuth->getConf("AutoAuthUsername") !== "" && $wgAuth->getConf("AutoAuthDomain") !== "" ) {

After that, Kerberos autentication works.

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


Navigation
Links