[Mediawiki-l] Authentication

Jon Welters jwelters at gmail.com
Fri Jun 20 18:17:12 UTC 2008


I just did a lot of digging, looks like my best bet is to use an Http Auth
extension and figure out how to just not have it check a password. There are
a couple extensions out there that claim to accomplish this but they seem to
fail. I don't have a whole lot of experiance in PHP or I'd code it myself. I
was hopeing someone had an idea on how to do it with existing code.

My idea is to make it so when a user logs in they need no password and if
they don't have an account one is created for them. Any other ideas ?

Thanks for your advice, it got me going on this !

-- 
Thank You and Sincerely,
Jon

On Fri, Jun 20, 2008 at 10:03 AM, Lane, Ryan <Ryan.Lane at ocean.navo.navy.mil>
wrote:

> > Another quick question concerning authentication in
> > Mediawiki. It would
> > apear as though we are seeking a system where the user doesn't need a
> > password and doesn't have to register. I do have all of the
> > users on an LDAP
> > server which is at my disposal. I guess two questions stem from this :
> >
> > 1. Is there a way for mediawiki to just ask the user a
> > username and not a
> > password without using LDAP? I know that sounds wierd.... but
> > it's kinda the
> > end goal.
> > 2. If I use LDAP is there a way to just tell it always to
> > accept the PW
> > without botherin to check if it's right?
> > 3. My only other idea is to enable httpauth and figure out
> > how to leave the
> > auth open..
> >
> > The wiki is on a private network FYI so security isn't really
> > an issue.
>
> You could write an auth plugin that always returns true in the
> authenticate function.
>
> You may also be able to use this extension:
>
>        http://www.mediawiki.org/wiki/Extension:NetworkAuth
>
> I'm not totally sure it will fufill your purpose though.
>
> V/r,
>
> Ryan Lane
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list