This question about LDAP: Answered

CamelCase

I configured the LdapContrib to authenticate against Win 2003 AD.

Everything runs smoothly, except one minor detail - WikiNames? are not translated to CamelCase? .

Our AD is filled with givenName="Daniel", sn="KOWNACKI"

{Ldap}{WikiNameAttribute} = givenName,sn

{Ldap}{NormalizeWikiNames} is 1 or 0, doesn't affect this.

In effect, my WikiName? is "danielkownacki" instead of "DanielKownacki"

Any ideas?

-- DanielKownacki - 18 May 2009

The LdapContrib tries to split up strings at capital letters in order to wikify the WikiName. I guess fully capitalized strings are not supported. But that does not explain why Daniel becomes lowercase.

-- OliverKrueger - 18 May 2009

I resolved the issue. It was Ldap misconfiguration, which resulted in Wiki being unable to get my name and surname from AD. But it was able to authenticate me, so it used login data I entered to create this strange user.

-- DanielKownacki - 19 May 2009

Well, if ALLCAP names work, I should update my understanding of ucfirst() and some regex'. wink But good to hear, that ur stuff works.

-- OliverKrueger - 19 May 2009

By "work" I meant that of course now my Wiki user is DanielKOWNACKI? . But I don't think there's anything I can do to change it. Well maybe to learn perl/regex wink

-- DanielKownacki - 20 May 2009
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads