There are a bunch of these web server authentication plugins that all mostly
suck. Web server authentication would be fairly easy to add to core, with a
minimal amount of change. The auto-auth code does nearly everything required
of web server authentication, except the things that extensions *really*
shouldn't be doing, like adding users to the database, and checking
sessions.
Would anyone object if I add this support to core?
-----Original Message-----
From: mediawiki-l-bounces(a)lists.wikimedia.org
[mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Tolliver
Sent: Wednesday, May 05, 2010 7:59 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] New 1.15.3 install
Hello Platonides,
Performed the following:
- Created Auth_remoteuser.php from the code at
(
http://www.mediawiki.org/wiki/Extension:AutomaticREMOTE_USER#Code)
- Ensured the permissions where correct on the new extension
- Replaced Auth_remoteuser.php
- Run php update.php --aconf ../AdminSettings.php
Received the error again:
PHP Notice: Undefined index: REMOTE_USER in
/appl/web/devwiki/public_www/mediawiki-1.15.3/extensions/Auth_
remoteuser.php
on line 195
Line 195 of Auth_remoteuser.php
if ( strlen($_SERVER['REMOTE_USER']) )
Thanks again.
Platonides wrote:
Tolliver wrote:
> Hello Platonides,
>
> I ran update.php again, and I got and error that I hadn't
previously
> noticed:
> PHP Notice: Undefined index: PHP_AUTH_USER in
>
/appl/web/devwiki/public_www/mediawiki-1.15.3/extensions/Auth_
remoteuser.php
> on line 92
>
> This is line 92 of Auth_remoteuser.php:
> - line 92 = if ( strlen($_SERVER['PHP_AUTH_USER']) ) {
>
> You suggested that I Update my AutomaticREMOTE_USER
extension, but I
didn't have that extension for 1.11.0.
Thank you.
Auth_remoteuser.php doesn't seem to be the last version.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l