Skip to content

Migration tool blindly removes external user domain #7199

Closed
@DavidePrincipi

Description

@DavidePrincipi

⚠ I found a failure scenario:

  • Start migration of NS7-A to ldap domain ns7.test
  • Start migration of NS7-B to ldap domain ns7.test

In NS8 the external domain created by NS7-A is replaced.

  • I'd expect an error message if the external domain is already bound to a working NS7 node, or to an external LDAP service. Before removing any existing domain, we must check if the domain is in use or not.
  • As alternative, if an automatic check is too difficult, abort the join step completely and ask the user to manually remove the domain on NS8.

Image

NOTE: I run the test with an old RPM nethserver-ns8-migration-1.0.18-1.9.pr94.g965a884.ns7.x86_64

Originally posted by @DavidePrincipi in #7103

Discussion: https://mattermost.nethesis.it/nethesis/pl/84unkibbo3rg7cbcrs454f5ksc

Metadata

Metadata

Assignees

Labels

verifiedAll test cases were verified successfully

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions