• 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.

Item6362: User's WikiName=login instead of GivennameSurname

Item Form Data

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

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


In my setup LDAP can be used to authorize access but LdapUserMapping::getWikiName($login) is never called to map the login to the cn-field of LDAP. When I call this function manually I get the correct result.

$TWiki::cfg{UserMappingManager} = 'TWiki::Users::LdapUserMapping';
$TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapPassword';
$TWiki::cfg{Ldap}{LoginAttribute} = 'uid';
$TWiki::cfg{Ldap}{WikiNameAttribute} = 'cn';
$TWiki::cfg{Ldap}{NormalizeWikiNames} = 1;

Do I need LDAP groups to allow this mapping? - I don't have any.

Thank you -- TWiki:Main/UlfMarkwardt - 12 Nov 2009

Summary User's WikiName=login instead of GivennameSurname
ReportedBy TWiki:Main.UlfMarkwardt
Codebase 4.3.1, 4.3.2
SVN Range

AppliesTo Extension
Component LdapContrib
Priority Normal
CurrentState New


TargetRelease n/a

Topic revision: r1 - 2009-11-12 - UlfMarkwardt
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback