SID-00213: Mapping Login- to Wikiname
| Status: |
Answered |
TWiki version: |
4.2.0 |
Perl version: |
5.8.8 |
| Category: |
|
Server OS: |
SLES 10.3 |
Last update: |
17 years ago |
Hi,
I've tried to map the login name (assumed from LDAP like p0123456)
to Wikinames.
I wasn't sure in which order login- and wikiname is written in
TWikiUsers
so I tried
and
but both doesn't works

Here some settings I have done in
LocalSite.cfg which are maybe important:
$TWiki::cfg{Register}{AllowLoginName} = 1;
$TWiki::cfg{Ldap}{NormalizeWikiNames} = 0;
$TWiki::cfg{MapUserToWikiName} = 1;
Greetings daniel
--
DanielPerabo - 23 Mar 2009
Discussion and Answer
In my case, I had to prefix the login name with the domain name, like so:
- DanielPerabo - YOURDOMAIN\P0123456 - 23 Mar 2009
--
SeanCMorgan - 23 Mar 2009
{MapUserToWikiName} is deprecated in 4.2 release. The
LdapContrib ships with a
TWiki::Users::LdapUserMapping user mapper, but that one assumes you use the LdapContrib internal construction of WikiName from LDAP's first name and last name. Use the
TWiki::Users::TWikiUserMapping if you want to use the TWikiUsers page for user mapping.
--
PeterThoeny - 24 Mar 2009
I works, thx
--
DanielPerabo - 24 Mar 2009
It works, thx
--
DanielPerabo - 24 Mar 2009
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.