My "table" looks like
hostaname|name|emailaddress
"hostname" as seen by a gethostbyaddr() command in Setup.php
"name" in UTF-8(preferred) or ISO-88859-1 according to the coding of
your wiki.
"emailaddress" for the user with accoutnanme "name"
Example:
MA12345|Marcus Kazmierczak|marcus(a)mkaz.com
(one entry per line, character encoding must correspond to wiki
encoding; use command "iconv -f xxxxx -t yyyyyy" if needed to convert
the file once)
The IP address of the user is translated to the hostname (here: MA12345)
which is for example your staff identity code in a company. Then my
auto-login / auto-create logs you immediately into your account (or
creates it) with account name (=wiki user account) "Marcus Kazmierczak"
- if no valid cookie for the corresponding userid is detected from the
session.
http://bugzilla.wikimedia.org/show_bug.cgi?id=1360 Auto-login /
Auto-account-creation by hostname for intranet MediaWikis
Marcus Kazmierczak schrieb:
Depending on how the user/lookup table works, I
could tie that to an environment variable set by
Apache which stores the username.
A modification also to the AuthPlugin.php page can
use that username to query a database which stores
real name, e-mail address, etc...