Question
I am running Apache v2.2.4 and have loaded mod_ntlm2. I have successfully configured TWiki to automatically log in the domain user to its
WikiUser. This is great; however, if a domain user, who has not registered and therefore does not have a
TWikiUser ID created, goes to my twiki site, they are logged in as 'their domain account', not in
TWikiUser format and are able to edit pages. Is this normal behavior? If so, how can TWiki be configured to not log them in and force them to register? If not, what am I doing wrong?
Environment
--
TWikiGuest - 18 Apr 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
That is normal behaviour. Once a user registers, TWiki is mapping from the login name (e.g.
jsmith) to the WikiWord name (e.g.
JohnSmith). Unregistered users can edit content, but their changes are tracked as
Main.jsmith instead of
Main.JohnSmith.
You need some extra logic if you want to prevent unregistered users from contributing, e.g. a plugin that redirects to the registration page if needed. I wrote a plugin that does that, but am waiting for the permission from the client to release it to the public.
--
PeterThoeny - 18 Apr 2007
Peter, thanks for such a quick reply, I see how busy you are. After further research, I did see exactly what you mentioned. I also saw a post from someone a while ago recommending a variable to enable/disable password changes/resets. Has there been any development on that? I think a plugin to force registration plus the ability to hide password administration would be the perfect way to handle single signon scenarios.
Please let me know how I can be notified if any/both of these additions are available. Thanks again!
P.S. - I now am a registered user [JosephMecca]
--
TWikiGuest - 19 Apr 2007
Joseph, I'm currently working in the user code for (we expect 4.2), and I hope to make the registration system and topics a removeable option - it mostly depends on how far i get into the work, and how many problems i encounter on the way
So, if you subscribe to the twiki-announce mailing list, you should find out about the next release - and its betas - please give me feed back if the beta does not do what you need!
with respect to magically creating users - that may need a tiny
UserMapper, and the
NewUserPlugin
--
SvenDowideit - 24 Apr 2007
Thanks Sven, I'll keep my eyes opened for it. :^)
--
JosephMecca - 25 Apr 2007