Question
Hi. We have been using TWiki password management for several years. I need to move to apache password management via LDAP, and have read through the many helpful notes at twiki.org. I am left with a question:
For old users, how do I add a 'login name' to their existing TWiki registration. Do I just have to edit the Main.TWiki users file ? I have several formats in here:
* VeryOldWikiName - Date
* NewerWikiName - NewerWikiName - Date
If I make them all of the format:
* WikiName - login name - Date
Will this take care of all mapping from login names to
WikiNames for existing users, or is the login name stored somewhere else ?
Thanks so much for your help,
Steve.
Environment
--
SteveJonesST - 07 Dec 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.
Yes that is exactly what you have to do.
Then TWiki will map the login name to the wiki name the minutes you are authenticated.
--
KennethLavrsen - 08 Dec 2007
Make sure to enable the mapping in configure, e.g.
twiki/lib/LocalSite.cfg.
--
PeterThoeny - 09 Dec 2007
Hi Kenneth, Peter, all.
I am having some troubles with this mapping, and would appreciate a little more help if possible.
I have moved the authentication scheme to apache/LDAP using some directives as
suggested by
SteveRJones (no relation). This seems to work fine - I can authenticate using my ldap login name and password.
The problem is that my WIKINAME used to be SteveJones, and now it has become my login name, 'steve jones'.
I have used configure to set TWiki username mapping up, and I have edited
TWikiUsers to be in the correct format as described above.
When I log in, at the top left, I get 'Welcome steve jones', and this correctly links to my WIKINAME (SteveJones), but my WIKIUSERNAME is 'steve jones'. Surely this is not correct - I would have expected it to be SteveJones.
This issue causes problems with access control (access has been set up using SteveJones on many pages). Also, the WIKINAME doesn't link any more, since it's no longer a wikiword.
Have I misunderstood how this is supposed to behave ?
If so, how do I ensure that a users' WIKINAME is preserved when he authenticates via LDAP.
If not, please help me debug why my login name is being used as my WIKINAME, as moving to LDAP authentication is becoming key for our users.
Thanks, as always,
Steve.
--
SteveJonesST - 11 Dec 2007
Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.
--
PeterThoeny - 02 Feb 2008