Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization with login via LDAP is case-sensitive #2436

Closed
vielhak opened this issue Jun 1, 2018 · 6 comments
Closed

Authorization with login via LDAP is case-sensitive #2436

vielhak opened this issue Jun 1, 2018 · 6 comments
Labels
support Community support

Comments

@vielhak
Copy link

vielhak commented Jun 1, 2018

We use LDAP Auth with AD. Works perfectly except that the imported user names are case sensitive regarding the authorization (group membership). So I can login as torsten.vielhak (authenticated against LDAP) but than I get
"No page assigned to this user! Click here to logout. "

If I use "Torsten.Vielhak" everything works as expected. I think the authentication via LDAP is not case-sensitive but the mapping to the group membership inside OPNsense is.

Keep up your great work! We love OPNsense!

@AdSchellevis
Copy link
Member

a solution could be to optionally force case on importing users, our end is indeed case-sensitive

@fichtner fichtner added the support Community support label Nov 20, 2018
@fichtner
Copy link
Member

@AdSchellevis close or add glue?

@AdSchellevis
Copy link
Member

let's close it, it's not high enough on my todo list and this doesn't affect a lot of users.

@anilkapoorbind
Copy link

Hi,
I have a point to add, I am using LDAP (AD) Authentication Server for Logging-in PFsense.
I have two users in the Authentication Containers OU one is "kernel" and other is "abind".
I get to log-in with the kernel user, but not with abind user.
I guess this is because of the difference between distinguishedName "Anil Bind" and username "abind",
for the same user.
whereas, the kernel user has the same distinguishedName and username.
any suggestions.
Apologies if the explanation is not clear.

@Ekuran
Copy link

Ekuran commented Dec 7, 2022

Hi,
I have the same problem but i dont understand how you resolve that, so someone can explaine me.
I apologies for my english!

@AdSchellevis
Copy link
Member

option for case-insensitive matches has been in OPNsense since some time (21.1), see #4451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

5 participants