Skip to content

[LDAP] Capitalisation issue with usernames #514

Description

@poVoq

Describe the bug:

I linked my Ejabberd xmpp server via LDAP to Voidauth, but some users wouldn't allow to log in with an XMPP client. It turned out these users had capital letters in their Voidauth username, so something like "uSer1" instead of "user1".

For Voidauth itself this doesn't seem to make a difference and I can log in with both "uSer1" and "user1" as the login name.

However via LDAP and Ejabberd I was only able to log in after changing the Voidauth username from "uSer1" to "user1".

I am not sure if this is expected behavior in LDAP, but there seems to be no way LDAP side to normalize the username to all small letters, so it would be probably good if Voidauth would treat them the same.

Thanks for looking into this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions