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
--
EdwardHarvey - 22 Dec 2008
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.
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