Ashar Voultoiz <hashar@...> writes:
Johannes Ernst wrote:
Various people have discussed the desirability of
single-sign-on for
Mediawiki installations.
I'm interested in the same thing and have been working on that for a
little bit.
So far: "It's working!" for 1.5rc4
Well there is some code for single signon already, commited in August
2004 (so most probably available since 1.4.x).
The parameter is $wgSharedDB , should be set to a database name in wich
is a shared 'user' table. Seems experimental (read: wikipedia does not
use it).
The code from HEAD includes/Database.php :
function tableName( $name ) {
<snip>
if ( isset( $wgSharedDB ) && "{$this->mTablePrefix}user" == $name
) {
$name = "`$wgSharedDB`.`$name`";
} else {
# Standard quoting
$name = "`$name`";
}
<snip>
return $name;
My questions:
1) Is there any place where people interested in this subject "hang
out"? (like a wiki page somewhere, ...?)
2) Is this the right mailing list to discuss this?
You can find some kind of hackers in the MediaWiki-l mailing list, most
developers read it and _at least_ Brion (our release manager) answer ;)
You are actually posting on wikitech-l which is for WikiMedia setup
issues (same people, different issues).
cheers,
There is also the possibility of using LDAP as an authentication source, and
pointing wikis at the LDAP servers. It is possible to break up the LDAP
structure into multiple OUs or domains (with OUs being preferred) for
transitional purposes.
Using LDAP could also move the authentication load off the databases, and onto
the LDAP servers.
I have written a patch for MediaWiki that supports the multiple domain model
(but could be extended for the multiple OU model). It is currently most useful
for small to large sized internal wikis, but with some tweeking could work in
much larger situations. This patch is currently being used for authentication
only, but people are adding support for group based authorization, and user
based rights.
I'm not trying to push this as a definate solution, but definately as a possible
solution.
V/r,
Ryan Lane