We are currently using a single sign on system
which sets the HTTP_AUTH variable via an Apache
plugin. I have a requirement to tie this into
the MediaWiki tool. Plus I need to have auto
login, since the users all must be authenticated
before accessing the wiki tool.
After trying unsuccessfully to use the AuthPlugin.php
piece, I came up with a hack which appears to work.
The hack is replacing the IP address piece with the
username.
The change is in the includes/Setup.php file, by
changing the _SERVER["REMOTE_ADDR"] to _SERVER['HTTP_AUTH']
Any reason why this won't work? My test bed everything
seems cool. Also is there a way to do an auto login so
this shows up when they first hit the initial page?
Thanks,
-Marcus