ATTN: David Cameron, Marcus Kazmierczak, Ryan Lane, Frank Wales, John Straffin:
I can't exactly deal with the plenty of mails referring to Auto-Login / Auto-Account-Creation and similar, but different ideas... so I decided quickly to post, what I have and what works for me.
The whole story in on http://bugzilla.wikipedia.org/show_bug.cgi?id=1360 Auto-login / Auto-account-creation by hostname for intranet MediaWikis
Basically, every
RETURN NEW USER() in every return path in loadFromSession()
is now changed to not return immediately, but to call my new function loadfromLUT(), which either gets some info via gethostbyaddr() in Setup.php and the lookup table or actually returns the new user() object (if a user comes to wiki, who is not listed in the file lookup table, he stays "anonymous" without a login chance, because I disabled the manual login and logout paths).
Please check http://bugzilla.wikipedia.org/show_bug.cgi?id=1360 . I just uploaded the code according to the flowchart, the code is for User.php of mediawiki 1.3.7 and only modifies the existings loadfromSession() as explained.
Sorry for cross-posting ! Tom