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

Item6133: Mail-Address of LDAP-User is not displayed (solved)

Item Form Data

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

Edit Form Data

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

Detail

% USERINFO{ format="Email: $emails }% does not show the Email-Address of a LDAP-User.

After sucessfully configuring LdapContrib to map Users from our LDAP I noticed that the E-Mail-addresses where not available in TWiki.

I tried to track that error down and noticed the following:

The Module Users::LdapUserMapping does not contain a getEmails -Method but calls the empty function in it's abstract baseclass instead.

At the other side there is a function called getEmails in the Module Users::LdapUser which is not called --- at least not when the above mentioned %USERINFO ... variable is expanded.

After I copied the function getEmails from Users::LdapUser to Users::LdapUserMapping the emails are delivered just fine. I don't dare to remove this function from Users::LdapUser as I don't know if it is used in this module.

-- TWiki:Main/KlausFueller - 25 Nov 2008

Thanks Klaus for the bug report and fix. This should go into the next release.

-- TWiki:Main.PeterThoeny - 25 Nov 2008

ItemTemplate
Summary Mail-Address of LDAP-User is not displayed (solved)
ReportedBy TWiki:Main.KlausFueller
Codebase 4.2.2
SVN Range TWiki-5.0.0, Wed, 22 Oct 2008, build 17677
AppliesTo Extension
Component LdapContrib
Priority Urgent
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 - 2008-11-25 - 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