Skip to content

LDAP mapping leftover when subdomain is deleted #6752

@artem-sidorenko

Description

@artem-sidorenko
ISSUE TYPE
  • Bug Report
COMPONENT NAME
LDAP
CLOUDSTACK VERSION
4.17.0.1
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

LDAP mapping is left in the DB when subdomain is removed

STEPS TO REPRODUCE
  • Setup LDAP
  • Create a subdomain
  • Link some group or OU to the subdomain
  • Remove subdomain
  • check the table ldap_trust_map - mapping is still there

Similar to the #4899

EXPECTED RESULTS
MariaDB [cloud]> select * from ldap_trust_map;
Empty set (0.01 sec)
ACTUAL RESULTS
MariaDB [cloud]> select * from ldap_trust_map;
+----+-----------+------+---------------------------------------------------+--------------+------------+
| id | domain_id | type | name                                              | account_type | account_id |
+----+-----------+------+---------------------------------------------------+--------------+------------+
|  6 |         6 | OU   | cn=users,cn=accounts,dc=test,dc=com |            0 |          0 |
+----+-----------+------+---------------------------------------------------+--------------+------------+
1 row in set (0.00 sec)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions