Question
Greetings,
I am using TWiki version TWiki-4.1.2, Sat, 03 Mar 2007, build 13046, Plugin API version 1.11.
I am authentication with the Apache mod_authnz_ldap module to authenticate against an LDAPS directory.
The apache authentication works fine. Unfortunately, all of the usernames are in firstname.lastname (sometimes with initials) notation, and twiki thinks the firstname is the webName.
When I log in, it has my lastname in the top left navigation bar, not david.gietka.
Is there anything I can do to have Twiki strip out the dot when get the REMOTE_USER environment variable? Or can I set a default webName so it does not try to parse the variable?
Any help that can be offered would be greatly appreciated. Thanks.
David Gietka
dgietka@hotmailPLEASENOSPAM.com
Environment
--
TWikiGuest - 17 Aug 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
As a first try, check your configuration: Under "Security", section "Registration" there is an entry
{Register}{AllowLoginName} which must be checked so that TWiki will display the registered Wikiname instead of the login name.
This should solve the situation, with the exception of users who log in to Apache without having registered before. To enforce registration, you can use
RequireRegistrationPlugin (unless your login names happen to look like WikiWords).
If all that doesn't work, please ring again: There's some stuff in the
Dirty Tricks section, which I only recommend if all other things fail.
--
HaraldJoerg - 17 Aug 2007