This question about Authentication or Authorisation: More info required

Username with dot like firstname.lastname@domain


I'm planning to integrate Foswiki with LDAP authentication using the LdapContrib extension.

All of our user base login names has a dot before the @. For example

Is it possible to have usernames with dots authenticating with Foswiki's LdapContrib plugin?

Will there be any issue with such user names when creating topics/webs?

I am worried because the dot is a reserved char to Foswiki to separate topics and webs, hence I'm afraid the username with dot could be a show stopper.

Please advise.

-- GustavoSchroeder - 16 Sep 2016

To answer your question, we need to clarify a couple of things. First, we need to distinguish between UserName from WikiName. If you have {Register}{AllowLoginName} enabled in configure, then these are different and it is fine for usernames to have dots in them. The user's WikiName which cannot have a dot in it.

Allowing dots in username would have no affect at all on creation of topics or webs. You are correct that topic names cannot have dots in them.

-- LynnwoodBrown - 04 Oct 2016

Thanks for the clarification on the diferrence for UserName and WikiName. I've managed to integrate the authentication with LdapContrib, I can login normally using an already registered local wiki name (ie. GustavoSchroeder) as well as to login with firstname.lastname normally. I did enable
  • {Ldap}{NormalizeLoginNames} = 1;
  • {Ldap}{NormalizeWikiNames} = 1;
But the topics are getting saved like:
%META:TOPICINFO{author="gustavo_2eschroeder" comment="reprev" date="1475848351" format="1.1" reprev="9" version="9"}%

Very similiar to the issue described in Question613, but I double checked and there is no blank space on Active Directory's "givenName" and "sn" attributes. Any clue where I'm missing?

-- GustavoSchroeder - 07 Oct 2016

QuestionForm edit

Subject Authentication or Authorisation
Extension LdapContrib
Version Foswiki 2.0.0
Status More info required
Related Topics
Topic revision: r4 - 07 Oct 2016, GustavoSchroeder - This page was cached on 25 May 2019 - 14:19.

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