You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/04/09 12:40:32 UTC

[GitHub] [cloudstack] borisstoyanov removed a comment on pull request #4899: Fix orphan entry on ldap trust map after account removal

borisstoyanov removed a comment on pull request #4899:
URL: https://github.com/apache/cloudstack/pull/4899#issuecomment-816653172


   LGTM, manually verified this
   
   ```
   (localcloud) SBCM5> > link accounttoldap account=dom-admin domainid=3bdaff06-4a44-45a0-a644-50f563c1b3e2  accounttype=2 ldapdomain=people type=ou
   {
     "linkAccountToLdap": {
       "account": "dom-admin",
       "accountid": "7f934e06-73b6-41ba-aa5b-03c7386325f7",
       "accounttype": 2,
       "domainid": "3bdaff06-4a44-45a0-a644-50f563c1b3e2",
       "ldapdomain": "people",
       "type": "OU"
     }
   }
   
   MariaDB [cloud]> select * from ldap_trust_map;
   +----+-----------+------+--------+--------------+------------+
   | id | domain_id | type | name   | account_type | account_id |
   +----+-----------+------+--------+--------------+------------+
   |  1 |         2 | OU   | people |            2 |          5 |
   +----+-----------+------+--------+--------------+------------+
   1 row in set (0.00 sec)
   
   
   (localcloud) SBCM5> > delete account id=7f934e06-73b6-41ba-aa5b-03c7386325f7
   {
     "success": true
   }
   (localcloud) SBCM5> >
   
   MariaDB [cloud]> select * from ldap_trust_map;
   Empty set (0.00 sec)
   
   MariaDB [cloud]>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org