Tags:
create new tag
, view all tags

SID-00457: Twiki 4.3 LDAP login ok but WikiName not created.

Status: Unanswered Unanswered TWiki version: 4.3.1 Perl version: 5.008008
Category: LdapContrib Server OS: z/Linux SLES 10 kernel 2.6.16 Last update: 2 years ago

I downloaded Twiki 4.3 and the LdapContrib. I can authenticate against the AD directory but the wikiname is not formed and the user shows as the Login Id in Twiki.

For example I login sd TSD001 and the Twiki left panel on the left shows Helo TSD001 when I was expecting Hello JohnMaski which is the wikiname.

Twiki relevant parms:

$TWiki::cfg{LoginManager} = 'TWiki::LoginManager::TemplateLogin'; $TWiki::cfg{UserMappingManager} = 'TWiki::Users::LdapUserMapping'; $TWiki::cfg{Register}{EnableNewUserRegistration} = 1; $TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapPassword'; $TWiki::cfg{Ldap}{LoginFilter} = 'objectClass=*'; $TWiki::cfg{Ldap}{LoginAttribute} = 'sAMAccountName'; $TWiki::cfg{Ldap}{WikiNameAttribute} = 'givenName,sn'; $TWiki::cfg{Ldap}{NormalizeWikiNames} = 1; $TWiki::cfg{Ldap}{NormalizeLoginNames} = 1; $TWiki::cfg{Ldap}{SecondaryPasswordManager} = 'TWiki::Users::HtPasswdUser'; $TWiki::cfg{Ldap}{MemberAttribute} = 'memberUid'; $TWiki::cfg{Ldap}{MemberIndirection} = 1; $TWiki::cfg{Register}{AllowLoginName} = 1;

Part of LdapContrib debug info: - LdapContrib - called getWikiNameOfLogin(tsd001) - LdapContrib - called isGroup(tsd001) - LdapContrib - called getWikiNameOfLogin() - LdapContrib - called getWikiNameOfLogin(tsd001)

AD Directory entries:

cn: Joe Maski sn: Maski givenName: John distinguishedName: CN=Joe Maski,OU=TechSupp-MainFrame_F7,OU=Restricted Users,OU=company Users,DC=company,DC=local displayName: Joe Maski mailNickname: tsd001 name: Joe Maski sAMAccountName: tsd001 objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=company,DC=local mail: tsd001@companyPLEASENOSPAM.local

-- RonMascarenhas - 2009-08-04

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider a subscription for support or engage one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-10-02

Change status to:

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
SupportForm
Status Unanswered
Title Twiki 4.3 LDAP login ok but WikiName not created.
SupportCategory LdapContrib
TWiki version 4.3.1
Server OS z/Linux SLES 10 kernel 2.6.16
Web server Apache/2.2.0
Perl version 5.008008
Topic revision: r3 - 2009-10-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.