Tags:
create new tag
view all tags

SID-01465: Edit what file to use TWiki Username vs. Login Username?

Status: Answered Answered TWiki version: 5.1.0 Perl version: This is perl, v5.10.1 (*) built for x86_64-linux-thread-mult
Category: CategoryAuthentication Server OS: Red Hat Enterprise Linux Workstation release 6.2 (Santiago) Last update: 11 years ago

I'm following documentation in

http://twiki.org/cgi-bin/view/TWiki/TWikiUserAuthentication#TWiki_Username_vs_Login_Username

and I've enabled (checked the box in configure) {AllowLoginName}

but nowhere can I find which file I need to edit to specify which login name maps to which TWiki username.

It doesn't appear to be TWikiUsers, as I've specified

loginname - username

there and it gets ignored. (I'm shown as loginname.)

Where do I enter the desired name pairs to be able to have my login name different from (and hidden from) my username?

-- MitchKutzko - 2012-05-16

Discussion and Answer

Make sure you have a proper bullet as follows in your TWikiUsers topic:

  • MitchKutzko - mkutzko - 2012-05-15

What {UserMappingManager} do you use? The TWikiUsers topic is used if TWiki::Users::TWikiUserMapping is specified. Other user mapping managers have different means.

-- PeterThoeny - 2012-05-17

Hi, Peter -- it's

TWiki::Users::TWikiUserMapping

Verified by looking in /opt/twiki/lib/LocalSite.cfg

where it shows up as

$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';

In TWikiUsers, I've tried both

and

and in both cases, when I get logged in, I show up as mitchk@DOM, mitchk_DOM, or mitchkDOM, depending on where in the TWiki I go.

Now, in case in matters, I'm also in TWikiAdminGroup like this:

if that makes any difference. But otherwise, I'm totally confused about why this isn't working. smile

-- MitchKutzko - 2012-05-17

Oooops, forgot this isn't raw text. Sorry sbout that.

-- MitchKutzko - 2012-05-17

I have never used a login name with @-sign. Could be that TWiki's user mapper does not support that? You could debug and find out.

-- PeterThoeny - 2012-05-17

Where would I look to see that?

-- MitchKutzko - 2012-05-17

Do TWikiDebugging in twiki/lib/TWiki/Users/TWikiUserMapping.pm

-- PeterThoeny - 2012-05-17

Will do -- I'll poke around and keep you posted. Thanks.

-- MitchKutzko - 2012-05-17

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2012-07-01

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Edit what file to use TWiki Username vs. Login Username?
SupportCategory CategoryAuthentication
TWiki version 5.1.0
Server OS Red Hat Enterprise Linux Workstation release 6.2 (Santiago)
Web server Server version: Apache/2.2.15 (Unix)
Perl version This is perl, v5.10.1 (*) built for x86_64-linux-thread-mult
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2012-07-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.