For a current project, I have found that Auth_remoteuser can take care of a lot of the grunt work, but I felt the need to update it a little.
I have the feeling (wrong?) that this extension is one that is used in a lot of places but it hasn't been touched for a couple of years.
Could I get people to test out the modifications I want to contribute back?
https://gerrit.wikimedia.org/r/127405 -- mostly just formatting https://gerrit.wikimedia.org/r/127406 -- refactoring https://gerrit.wikimedia.org/r/127407 -- changing invocation
I've made some effort to keep this compatible with the previous version. If you want to try this out as a drop-in replacement for your current Auth_remoteuser, you can use http://mah.everybody.org/Auth_remoteuser.php.txt -- but please report back any problems you have.
Thanks,
Mark.