• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6464: TWiki::LoginManager::LdapApacheLogin return loginname instead of wikiname

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension LdapContrib Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Hi,

It looks like TWiki::LoginManager::LdapApacheLogin is returning the normalized login name instead of the normalized wikiname.

in lib/TWiki/LoginManager/LdapApacheLogin.pm, replacing the return in loadSession with something like "return $this->{ldap}->getWikiNameOfLogin($authUser);" fix the problem

-- TWiki:Main/LaurentBigonville - 19 May 2010

Thanks for reporting. I have not come across your issue because I usually use this combination:

$TWiki::cfg{LoginManager} = 'TWiki::LoginManager::TemplateLogin';
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::TWikiUserMapping';
$TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapUser';

-- TWiki:Main.PeterThoeny - 19 May 2010

ItemTemplate
Summary TWiki::LoginManager::LdapApacheLogin return loginname instead of wikiname
ReportedBy TWiki:Main.LaurentBigonville
Codebase 4.3.2
SVN Range

AppliesTo Extension
Component LdapContrib
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-05-19 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback