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
--
EricFaden - 09 Jan 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.
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