Question
We have some users with a dot in the loginname, e.g.
james.bond. When filling the LDAP cache everyting is fine, the correct entries are added.
Strange things happen when TWiki tries to
lookupWikiName() (TWiki/Users/LdapUserMapping.pm) from login name. Example log output:
constructed a new LdapContrib object
cacheAge=11105, lastUpdate=1209544138, refresh=0
called getLoginName(james.bond)
called lookupWikiName(bond)
asking SUPER
called getLoginName(james_46bond)
called lookupWikiName(james_46bond)
asking SUPER
called lookupLoginName(james_46bond)
asking SUPER
returning jamesbond
I understand the first clipping, where the code tries to remove a prepended TWiki web identifier. (I tried to block this, but was not successful.)
Then there follows a second try where the dot is encoded as
_46. How can I stop this, resp. what can I do to get JamesBond as return value?
Could modifying
{LoginNameFilterIn} or
{Ldap}{NormalizeLoginName} help?
Thanks for your support.
P.S.:
MapApacheUserWithDotToWikiUser seems to be a different problem.
Environment
--
AlexanderStedile - 30 Apr 2008
Answer
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.
Does anybody know, in which module the loginname might be encoded? I could not find it yet.
--
AlexanderStedile - 01 May 2008
LoginNameStylesDifferentEffects seems to be the same problem.
--
AlexanderStedile - 02 May 2008