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

Two usernames in one tenan #74

Open
northboys opened this issue Feb 19, 2024 · 5 comments
Open

Two usernames in one tenan #74

northboys opened this issue Feb 19, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@northboys
Copy link
Contributor

northboys commented Feb 19, 2024

What is the procedure to synchronize two identical usernames within a single tenant to AzureAD-LDAP-wrapper?
How can I configure AzureAD-LDAP-wrapper to allow both [email protected] and [email protected].

@ahaenggli
Copy link
Owner

How can you create two such users? In my tenant the username has to be unique over all domains?

@northboys
Copy link
Contributor Author

I have several domains in one tenant and there are several users who have the same username but different domains.
Screenshot 2024-02-26 at 10 29 23
Screenshot 2024-02-26 at 10 31 33

@ahaenggli
Copy link
Owner

Thank you very much! I was able to reproduce the situation. There is currently no way to use two users with the same name and different domains. Currently you would need a separate LDAP wrapper for each domain.

I am not yet sure how I want to implement this in the wrapper. As a reference for me: https://serverfault.com/a/828497
Variants 2 and 3 have their advantages and disadvantages.

@KrzysztofKiser
Copy link

Hi @ahaenggli - this is a very needed feature. I am struggling with the same issue as @northboys and would love to be able to use multiple same usernames in multiple domains in one LDAP wrapper since most systems can only be joined to one LDAP server.

@agonza05
Copy link

agonza05 commented Apr 8, 2024

Hello @northboys, I had a similar use case and solved it with the following customizer.
ldap_customizer.js.txt
For my users, now the have the following credentials:

@ahaenggli ahaenggli added the enhancement New feature or request label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants