Description

When using Moin with LDAP authentication, you are faced with the following problem:

Case-sensitiveness is not the problem here, but the fact that if you log against LDAP with firstname.lastname or FirstName.LastName, you are logged with the same account (you're the same person!) but Moin creates two internal accounts, that's disturbing and complicates management (example ACL management).

Steps to reproduce

  1. configure moin to use LDAP authentication
  2. choose a LDAP account and log into Moin with its login name in upper case (like this LOGINNAME)

  3. creates a page, for example your homepage by clicking on your LOGINNAME in the upper left

  4. log out
  5. log in with the same account and password but this time with the login name in lower case (like this loginname)

  6. see that your homepage isn't created

Example

Component selection

Details

Workaround

For the moment i don't see any workaround except explain to every LDAP user to always spell their login name the same way.

Discussion

I'm not sure this bug is really a bug, because account case-sensitiviness is a feature1. But it could be interesting to:

(!) We won't make moin case-insensitive. That is just bad style, slower and only makes trouble all over the place (as you see with ldap, windows, ...).

What maybe could be done is reading back the username from ldap to see how it really is. Patches are welcome.

Plan


CategoryMoinMoinNoBug

  1. isn't it? :) (1)

MoinMoin: MoinMoinBugs/LdapAuthenticationIsCaseInsensitiveButMoinAccountsAreNot (last edited 2009-04-15 07:07:14 by EricVeirasGalisson)