This question about Using an extension, Authentication or Authorisation, LDAP: Asked

Getting _2e in user names

Hi Guys,
when viewing a topic created/edited by an LDAP user Foswiki apparently displays the user name (not the WikiName) in the "You are here: Foswiki>Main Web>JohnSmith (22 Apr 2015, john_2esmith)" navigation bar and my guess is that because our user names have a dot in between the first and last name Foswiki takes it out and puts the _2e in there. Is there a way to change that to the WikiName? Here are my environments details:

* Authentication is done by LdapContrib against an ActiveDirectory 2012 R2
* Our login names are read from "mailNickname" which is always Firstname.Lastname sometimes Firstname.Lastname-Lastname
* $Foswiki::cfg{Ldap}{WikiNameAttributes} = 'cn'; - the AD attribute "cn" is always: Firstname Lastname and sometimes: Firstname.Lastname-Lastname - tried it with "givenName,sn": no change
* $Foswiki::cfg{Ldap}{NormalizeWikiNames} = 1;
* $Foswiki::cfg{UserMappingManager} = 'Foswiki::Users::LdapUserMapping'; is set correctly
* $Foswiki::cfg{PasswordManager} = 'Foswiki::Users::LdapPasswdUser'; is set correctly
* Tried changing $Foswiki::cfg{Register}{AllowLoginName} - no change
* Tried changing $Foswiki::cfg{Ldap}{NormalizeLoginNames} - no change
* $Foswiki::cfg{Ldap}{CaseSensitiveLogin} = 0;

Apprechiate your time!

-- JackOreely - 22 Apr 2015

I have the same problem. Strangely if you create a new page it correctly puts the persons WikiName in to the page as the creator.

-- CeriShave - 08 May 2015
 

QuestionForm edit

Subject Using an extension, Authentication or Authorisation, LDAP
Extension LdapContrib
Version Foswiki 1.1.9
Status Asked
Related Topics
Topic revision: r2 - 08 May 2015, CeriShave - This page was cached on 13 Jan 2018 - 19:15.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License