Tags:
create new tag
view all tags

Question

I am using AuthCAS (Single Sign-On) through apache to authenticate my TWiki. Currently when the users register their login name doesn't properly get mapped to their WikiName and it must be fixed manually. E.g. in the users topic it goes in as <WikiName> - <Date> instead of <WikiName>  - <LoginName> - <Date>. I have enabled the usermappings and such in the config, and the registration page shows the correct login name automatically. It just doesn't seem to get set. The basic instructions I followed are https://mams.melcoe.mq.edu.au/zope/mams/pubs/Installation/shib-twiki/document_view

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Debian Etch
Web server: Apache 2
Perl version: 5
Client OS:  
Web Browser:  
Categories: Htaccess, Registration, Authentication

-- EricFaden - 09 Jan 2007

Answer

ALERT! 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.

From a quick glance through those instructions, it appears there is a hack to Register.pm to make it obtain the login name from remote_user. If you got your apache config wrong and the registration is run without being logged in to the webserver, then remote_user will be blank. In this case the hack overwrites the login name entered in the form with a null value, and registration proceeds with no login name. This will give the result you are seeing.

Make sure that you are prompted to log in before it allows you to register.

-- CrawfordCurrie - 10 Jan 2007

Closing after more than 30 days. Please reopen with more details if needed...

-- PeterThoeny - 02 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-03-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.