Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris 10
Web server: apache 2.2.2
Perl version: 5.8.4
Client OS: windows xp sp2
Web Browser: IE 6.0
Categories: Authentication, Security, Authorisation

-- TWikiGuest - 17 Aug 2007

Answer

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

 
Change status to:
Topic revision: r2 - 2007-08-17 - HaraldJoerg
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.