Add option to lowercase usernames in LDAP backend

Issue #310 resolved
Randle Taylor created an issue

LDAP(all servers?) appears to be case insensitive with regards to usernames so it will authenticate users who enter their username in a different case. This results in a new user being created.

Adding an option to lowercase all incoming usernames to the backend should resolve this.

Comments (2)

  1. Randle Taylor reporter

    Resolved in c52eeda13 by allowing centres to define a function AD_CLEAN_USERNAME in local_settings.py to manipulate the username before authenticating.

    Will need to be documented.

  2. Log in to comment