-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
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)
xuanyuanaosheng