Skip to content

Issues with Users that have a "Umlaut" eg. Ö or ß #142

Closed
@janhoelscher

Description

@janhoelscher

Describe the bug
I have configured authentication via an Active Directory Server. Users without a german "Umlaut" can login without any problems.
But users with an "Umlaut" in there CN getting "Ldap: Invalid Credentials" as a response on the login page.
It has been double checked with two users having this issue.

To Reproduce
Steps to reproduce the behavior:

  1. Configuring Active Directory Server in Ldap Config
  2. Try to login as a user which have an "Umlaut" in their CN
  3. Getting error message on login page

Expected behavior
User should login without any errors.

Version
ansibleforms v5.0.0

Deployment
Deployed ansibleforms with :

  • docker-compose

Additional context
Logs only shows error: Error connecting to ldap : Invalid Credentials but credentials are correct.

Full DN from user account look similar than this CN=<here is sAMAccountName>_(<forename>_<surname>),OU=user,OU=<censored>,DC=<censored>,DC=<censored>,DC=de as <surname> contains an "Ö"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions