https://bugzilla.wikimedia.org/show_bug.cgi?id=71703

            Bug ID: 71703
           Summary: AutoAuthSetup providing empty userID
           Product: MediaWiki extensions
           Version: REL1_19 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: LdapAuthentication
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: Internet Explorer
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to