Question
I am using Apache NIS authentication. The authentication appears to work fine. I login using my NIS username and password. When I go to twiki/bin/view/Main/WebHome my NIS username appears in the upper left panel. My username does not appear under the list of twiki users, so I decided to register. In the registration form, the LoginName is filled with NIS username. When I fill in the rest of the registration form and submit it returns the error:
Incorrect LoginName
'' is not a valid LoginName The field must match the {LoginNameFilterIn} filter for this site
Somehow, it lost my login name? The login name has no special characters in it. My LoginName is caravagg. What's wrong with my setup?
Thanks
Environment
--
GinoCaravaggio - 16 Mar 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.
Upon further investigation.
When I hit submit, I first get:
The page cannot be displayed error.
When I hit refresh, I get the invalid login name above error.
--
GinoCaravaggio - 16 Mar 2007
I think you need to have a WikiName, the TWikiUsers page will then have something like
GinoCarravaggio - gcarav (unix name) - <some date>
Then it should work. You can play by editing data/Main/TWikiUsers.txt directly
The TWiki Manual already mentions this, but not explicitly
http://mytwiki/twiki/bin/view/TWiki/TWikiUserAuthentication#TWiki_Username_vs_Login_Username
You may also need to set
{Register}{AllowLoginName}
to be on in twiki/bin/configure
--
RodMcKenzie - 18 Mar 2007