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

Allow "UPN" attribute with Windows AD #159

Open
InfinityDevTech opened this issue Apr 4, 2024 · 1 comment
Open

Allow "UPN" attribute with Windows AD #159

InfinityDevTech opened this issue Apr 4, 2024 · 1 comment

Comments

@InfinityDevTech
Copy link

InfinityDevTech commented Apr 4, 2024

Hello!

I use Windows AD to manage my clients, and I was curious if I could allow the "UPN" attribute (@) format for logging in instead of the user's email or just using the prefix before the "@" in the UPN. The name before the UPN (AKA the "Login Name") is always unique.

Here is more Information on the UPN attribute

Does this already exist? Or no, from my testing, it does not appear to work.

@Randy-Butternubs
Copy link

Put "userPrincipalName" in the LDAP search attributes if you want the UPN to work. Use sAMAccountName if you want just the part before the @ to work. Put both in a comma separated list if you want both to work.

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

No branches or pull requests

2 participants