[Mediawiki-l] kerberos login for mediawiki

Riccardo Veraldi Riccardo.Veraldi at cnaf.infn.it
Tue May 18 12:41:19 UTC 2010


Hello,
I tried to enable kerberos login in mediawiki.
I followed the instructions on the wiki but for version 1.15.3 it looks 
like it is not working.
The problemare the lines to add to LocalSettings.php for the HttpAuth 
extension

session_start();
 if ((!empty($_SERVER['PHP_AUTH_USER']) && 
!empty($_SERVER['REMOTE_USER'])) || $_COOKIE[$wgDBserver . 'UserID']) {
        require_once("$IP/extensions/HttpAuthPlugin.php");
        $wgAuth = new HttpAuthPlugin();
        $wgHooks['AutoAuthenticate'][] = array($wgAuth,'autoAuthenticate');
 }


He does not like $_COOKIE[$wgDBserver . 'UserID']

but removing it does not solve the problem.




[Tue May 18 12:18:10 2010] [error] PHP Notice:  Undefined index:  
localhostUserID in /var/www/html/wiki/LocalSettings.php on line 135

Anyone has been succesful in adding Kerberos login capability with 
MediaWiki 1.15.3 ?

thanks

Rick




More information about the MediaWiki-l mailing list