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

Upper and lower case login works but group assignments/rights don't work with upper case login

Hi Guys,

I got LdapContrib running and it is working pretty good except for a small thing that I wasn't able to figure out: When I log in with john.smith everything looks to be working properly but when I log in with John.Smith I can sign in but I don't have any rights as if I wasn't a member of any groups. Here are my Information:

* 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


QuestionForm edit

Subject Using an extension, Authentication or Authorisation, LDAP
Extension LdapContrib
Version Foswiki 1.1.9
Status Asked
Related Topics
Topic revision: r1 - 22 Apr 2015, JackOreely
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