chunkyen opened a new issue, #12191:
URL: https://github.com/apache/cloudstack/issues/12191

   ### problem
   
   When I was trying to configure ldap for one domain, I discovered the same 
settings was propagated across all Domains (apparently). But I discovered this 
is a UI bug as the setting is correct when viewed using cmk
   
   ### versions
   
   Cloudstack version 4.22.
   
   ### The steps to reproduce the bug
   
   **I have 2 domains under Root - T1 and T2** 
   
   -  Set ldap base dn (dc=abc,dc=com) on root and it was the same when 
clicking on other domains
   
   <img width="1423" height="193" alt="Image" 
src="https://github.com/user-attachments/assets/14e1893e-0800-4a96-991a-b8cb0babd11f";
 />
   
   <img width="1420" height="196" alt="Image" 
src="https://github.com/user-attachments/assets/9007e227-ba71-4ef2-bf1a-3a6a387d5620";
 />
   
   <img width="1427" height="251" alt="Image" 
src="https://github.com/user-attachments/assets/4b6553b6-1d8b-42d0-bc7a-2e7c1b7a4261";
 />
   
   - after clicking on the browser refresh or restarting cloudstack management, 
the settings become blank, meaning the original setting was not saved
   
   <img width="1422" height="265" alt="Image" 
src="https://github.com/user-attachments/assets/8ce82af0-61db-44bf-9db3-7e50ef0b0b3f";
 />
   
   - the only way to properly set the setting is via cmk. This time round I set 
it to dc=123,dc=com
   
   <img width="1141" height="402" alt="Image" 
src="https://github.com/user-attachments/assets/69a31a6b-f515-499a-8367-42187d254a33";
 />
   
   - the value is reflected on the gui but the other domain has the same 
setting. It is like the ui did not refresh when you click on the other domain. 
clicking on the small refresh button does not actually refresh the setting
   
   <img width="1451" height="376" alt="Image" 
src="https://github.com/user-attachments/assets/86a2e9c8-5fc5-47c8-86f8-e7b1610a6cf3";
 />
   
   <img width="1417" height="259" alt="Image" 
src="https://github.com/user-attachments/assets/a3784ad1-ca50-47a0-8680-dbcb6262fe94";
 />
   
   <img width="1443" height="266" alt="Image" 
src="https://github.com/user-attachments/assets/e47310a4-239d-401f-a7b6-de2b9fc95af9";
 />
   
   - using cmk to list the setting reflect the correct value
   
   <img width="1004" height="310" alt="Image" 
src="https://github.com/user-attachments/assets/5dda1be5-1972-4fd0-a8cc-417a234c2196";
 />
   
   
   
   
   ### What to do about it?
   
   - the value should persist when saved in the domain settings
   - the ui should reflect the correct domain setting when selecting the 
different domain
   - for now the only workaround for me is to use cmk instead of the cloudstack 
management UI


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to