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

fix(ldap-discovery): use mail domain for user auth #98

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

gsanchietti
Copy link
Member

Like it in NS7, the user should use the mail domain for authentication. Example:

  • mail domain: nethserver.org
  • user domain associated to mail server: ad.nethserver.org

The user should be able to authenticate using user@nethserver.org

This is a regression for NethServer/dev#7182 caused by PR #96.
Before the regression, the LDAP configuration was correct when done inside the configure-module at this line, but was already wrong when executed on change of the associated mail server implemented in this line.
So the wrong code was reported inside ldap-discovery.

In the end, the ldap-discovery code must always use the mail domain for the configuration and not the user domain.

Like it in NS7, the user should use the mail domain for authentication.
Example:

- mail domain: nethserver.org
- user domain associated to mail server: ad.nethserver.org

The user should be able to authenticate using user@nethserver.org
@gsanchietti gsanchietti merged commit 57b539f into main Dec 4, 2024
4 of 5 checks passed
@gsanchietti gsanchietti deleted the fix_ldap_discovery branch December 4, 2024 09:46
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

Successfully merging this pull request may close these issues.

4 participants