Hi Tom, Hi John,
i'm in the same situation like John. i use .htaccess for a member-section where i'm to install a wiki. TikiWiki is the only wiki i know that has this working but it is the only good feature from tikiwiki.
Tom, your solution sounds really interesting. i imagine to be able to make a solution that works with .htaccess from your solution more easily than from tabula rasa. Actually i already wrote some code but it simply will not work. Any chance to have a look at your code?
What i did:
i wrote a extensions/cpAuth.php (attached) and added
include('extensions/cpAuth.php'); $wgAuth = new cpAuth();
to LocalSettings.php
however, i seem to have missing some important steps because this seems not to work for now. (no error, no changed behaviour)
hope to get this working soon,
Damir Perisa
On Tuesday 15 February 2005 00:55, Thomas Gries wrote:
John,
I have something what relies on a detected IP address (gethostbyaddr() = something), see http://bugzilla.wikimedia.org/show_bug.cgi?id=1360 Auto-login / Auto-account-creation by hostname for intranet MediaWikis . There is no uploaded patch (yet), but it is easy.
Please can you check, if this can be useful for you ? Tom
John Straffin schrieb:
To get to where my wiki is, the user has to have already authenticated as a unique individual through a kerberized .htaccess method. What I want is for the wiki to then see the existing "johndoe" user that had logged in to the .htaccess method and understand that it is the same user as the wiki's "johndoe".
My current wiki (TikiWiki) has this functionality by simply setting "Authentication Method" on its "Login" admin pane to "Web Server". I had to add the users by hand (with no password), but that's it -- the user can't even logout as the web server's authentication is still in effect.