Tags:
create new tag
view all tags

Question

I'm a twiki newbie who's generally good at apache, other wikis, linux, windows, etc.

I have kerberos working in apache, and need to translate username@ACME.LOCAL to WikiName. I am following Plugins.LoginNameAliasesPlugin instructions

Here's my problem - The documentation says "Behavior of this plugin is controlled through the following settings in the TWiki.LoginNameAliasesPlugin topic." And I can't find that topic. I tried browsing to my TWiki Web, but don't see any plugin topics there. Tried going to Admin Tools, where I find plugins, but no LoginNameAliasesPlugin.

I went into configure, found the plugin, clicked the checkmark, and went into Admin Tools again. Now inside of AdminTools, I see the plugin, but it says "disabled."

The documentation also says "To activate the plugin: the variable $useLoginNameAliasesPlugin in TWiki.cfg" but I can't find any TWiki.cfg file anywhere on my system ...

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: CentOS 5.1
Web server: apache 2.2.3
Perl version: 5.8.8
Client OS: various
Web Browser: various
Categories: Installation, Plugins

-- EdwardHarvey - 22 Dec 2008

Answer

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.

also - wondering if I'll have email if somebody replies here.

-- EdwardHarvey - 22 Dec 2008

This plugin is listed to be tested with TWiki 4.1. I am not sure it will work on TWiki 4.2 since there have been a lot of changes in user login and password management.

If you install the plugin you should see LoginNameAliasesPlugin topic in your TWiki web, which corresponds to file twiki/data/TWiki/LoginNameAliasesPlugin.txt. If you enable the plugin in configure (which gets recorded in twiki/lib/LocalSite.cfg) you will see the plugin listed in your TWiki.InstalledPlugins topic. But even if enabled, the plugin might not be listed as enabled if there is a problem with the plugin. See TWikiPlugins documentation.

You might not need this plugin if you set the {Register}{AllowLoginName} flag in configure, and if you filter out the @domain part from your login name and pass just the user name along to the REMOTE_USER environment variable; TWiki will pick it up.

And TWiki will translate the login name to WikiName if instructed in your Main.TWikiUsers page. Sample bullet for user John Smith:

  • JohnSmith - jsmith - 23 Dec 2008

See also: TransparentAuthentication, SingleSignOn, HowToEnableSingleSignOn

-- PeterThoeny - 23 Dec 2008

Hey Peter,

thanks for the informative post, I am interested to try your simplified workaround here, but don't know where to set up the filter to strip out the domain name. Clues?

Thanks, Jacob

-- JacobGreenleaf - 2009-12-29

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-12-29 - JacobGreenleaf
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.