Author: iggl
Description:
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.
Version: REL1_19-branch
Severity: normal