Tags:
create new tag
, view all tags

Question

I'm setting up another TWiki site. In this community everyone has login ids allocated to them by the university, and people want to setup their account so that they can login using those ids.

Therefore, I want people on registration to state both their real name (WikiName) and their login name, and for them to be able to .htaccess password login using their login name.

My questions are:

  1. How does this affect the use of TWikiRegistration vs TWikiRegistrationPub? (Do I need to change just the templates or the RegisterCgiScript as well?)
  2. If I have some users already created using TWikiRegistrationPub and I now want them to use a different name to log in, do they need to re-register?

I keep thinking I should know the answers to these sorts of questions, but then, hey, better to ask and look dumb than keep quiet and be stupid.

  • TWiki version: Beijing
  • Perl version: 5.6
  • Web server & version: apache
  • Server OS: linux
  • Web browser & version: ie 6
  • Client OS: xp

-- MartinCleaver - 20 May 2003

I've removed q3 as MichaelSparks said it complicated the issue.

Answer

Strictly speaking, your users don't need to register with twiki at all. They only need to be authenticated by the web server so that the $REMOTE_USER variable is populated. You should be able to instruct Apache to authenticate against the central university server and leave twiki out of it entirely.

Wade through the wiki thicket at TransparentAuthentication for most of the material I've been able to put together on this kind of setup for a variety of OSes. If the web server and the login server are the same OS it should be relatively straightforward. If you're in a mixed OS environment it's more difficult, but works.

-- MattWilkie - 20 Jun 2003

For now users: Use the TWiki.TWikiRegistration topic from the installation, and remove TWiki.TWikiRegistrationPub. You do not need to change the register script.

For existing users registered with the wrong form: Add their login name manually to the Main.TWikiUsers topic. That topic is used to map from the login name to the WikiName

-- PeterThoeny - 02 Oct 2003

Topic revision: r6 - 2003-10-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.