-
Notifications
You must be signed in to change notification settings - Fork 18
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
NS7 join fails if user domain directory.nh exists #7222
Comments
Account provider validation is now performed by the connection API. Refs NethServer/dev#7222
Test case
|
be aware of this change also |
test of failure
|
@DavidePrincipi could you state on the 8 cases to verify, I do not understand what could the 3 other cases |
Test 1-4 are verified, ok 👍 I'm happy the test 5 you did has no regressions. We have to check scenarios where: A) We have a local account provider and a domain name conflict exists, and an error message is expected and must be displayed (OpenLDAP + Samba). The code change has removed the old error message logic completely, and I expect the remaining code is already doing the job. |
test A : test B
|
Case A verified Case B I am not sure, could you state @DavidePrincipi |
in
|
For external domains, the only condition is that on NS8 a domain with the same BaseDN exists. We cannot distinguish them by address because they can differ even if the LDAP DB is the same (e.g. different DNS records, LDAP replica, multi-homed servers...) https://docs.nethserver.org/projects/ns8/en/main/migration.html#account-provider I think the verification is ok so far, but we must check what happens if the remote domain is not configured in NS8. |
set not verified
Capture.video.du.2025-01-15.11-34-12.mp4create a remote ldap in NS7, this remote ldap in NS8 is not set |
List of cases/abbreviations:
Test cases Check NS7 join.
If the join succeeds, verify that the correct domain name and local/remote setting has been recorded in this file:
|
Fix external LDAP user domain validation Refs NethServer/dev#7222
in
|
This is a regression introduced by #7226 that I overlooked during QA. Fixed in NethServer/nethserver-ns8-migration@21b37b5 |
in
|
all test cases: VERIFIED |
in
|
Released as 1.2.0 |
Even though the renaming of the NS7 internal LDAP user base is already handled during migration to NS8, it is not possible to join an NS7 to an NS8 cluster if a user domain named
directory.nh
already exists on the NS8 system.Steps to reproduce
directory.nh
;Expected behavior
You should be able to join the NS7 to the NS8 cluster, renaming the internal LDAP user domain on NS8 to avoid conflicts.
Actual behavior
The NS8 UI displays an error, and the join operation fails:
Components
nethserver-ns8-migration-1.1.0-1.ns7.x86_64
The text was updated successfully, but these errors were encountered: