This question about Using an extension: Asked

Lowercase surname using RewriteWikiNames

In our LDAP catalog users are represented using following format: "Firstname SURNAME".

I would like to change surname lettering to Propercase using RewriteWikiNames.

What hash mapping rules should I use?


In that case you don't need a rewrite rule at all. Just list the two attributes in {WikiNameAttribute}, e.g.
$Foswiki::cfg{Ldap}{WikiNameAttribute} = 'givenName, sn';

The values of these two attributes will be concatenated and in case you enabled {NormalizeWikiNames} will these be wikified to form proper WikiWords.

-- MichaelDaum - 21 Apr 2011


Michael, thx for answering, but I have exactly the same WikiNameAttribute configuration from the start, and still receive DanielKOWNACKI as username.

I must mention that in my old 1.0 installation I somehow fixed it long long time ago...

-- DanielKownacki - 22 Apr 2011

QuestionForm edit

Subject Using an extension
Extension LdapContrib
Version Foswiki 1.1.3
Status Asked
Topic revision: r3 - 22 Apr 2011, DanielKownacki
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