[Moin-user] Switching to MoinMoin from Zwiki / User Login Problems

Thomas Waldmann tw-public at gmx.de
Thu Dec 11 15:22:09 EST 2003


>  A-HA!  That's the problem I've been having with the user logins!  We're
> all authenticated on the Windows network, and using that same auth on
> the IIS server.  I went through the wiki data files and changed my
> username to "ian" (Windows login) from "IanEpperson" (wiki log in) and
> it works great!

Oh. X-)

> So, another question:  Is there some mechanism to translate the HTTP
> auth to wiki auth?  I'd like my "ian" login to somehow translate to
> "IanEpperson" to make the wiki happy.

Not yet. I think we already thought about that, but no code yet.

The right way to do that is to extend userform.py and user.py to have an 
extra http auth username field. Further, the userdict.pickle stuff then 
needs to be extended to find the correct WikiName in a fast way (that 
pickle "cache" is used for finding correct wiki userid without having to 
load and parse all account files).

We would be happy to accept a patch for that ;) That would make it 
happen sooner, maybe even for 1.2 (== soon).

Using that account data, a quite easy script could even generate a 
htpasswd user/password file fragment for apache.






More information about the Moin-user mailing list