SID-00457: Twiki 4.3 LDAP login ok but WikiName not created.
| Status: |
Unanswered |
TWiki version: |
4.3.1 |
Perl version: |
5.008008 |
| Category: |
LdapContrib |
Server OS: |
z/Linux SLES 10 kernel 2.6.16 |
Last update: |
16 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 engaging 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
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.