rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
462 stars 261 forks source link

Dashboard auth [freeIPA,openLDAP and AD] Component issues #2252

Closed anupama2501 closed 3 years ago

anupama2501 commented 3 years ago

Rancher | v2.5-2ec02e753d1c5c428b8eff9681ad3f72553829aa-head User Interface | v2.5-dev Helm | v2.16.8-rancher1 Machine | v0.15.0-rancher49

1. LDAP auths [openLDAP, freeIPA and AD] have the group search base component as labeled input hidden text. Should be labeled input only.

On Dashboard:

Screen Shot 2021-01-27 at 9 55 43 AM Screen Shot 2021-01-27 at 9 55 29 AM

On ember UI

Screen Shot 2021-01-27 at 9 56 58 AM

2. Port Component should be integer labeled input only. On the dashboard, the port is not an integer labeled input

Screen Shot 2021-01-27 at 2 58 49 PM

3. Disabled status bit mask for the Active Directory [AD] is missing the default value 2:

Screen Shot 2021-01-27 at 3 00 50 PM
anupama2501 commented 3 years ago

2114

anupama2501 commented 3 years ago

From the above 3 issues, verified the issues on

Rancher | v2.5-05fbcbb75ba84a80c5aaa243985e892c52b9ac32-head User Interface | v2.5-dev Helm | v2.16.8-rancher1 Machine | v0.15.0-rancher51

Issue 1: PASS LDAP auths [openLDAP, freeIPA and AD] have the group search base component as labeled input hidden text. Should be labeled input only

  1. From dashboard auth providers, select AD/FreeIPA/OpenLDAP
  2. Input the value for group search base, and the value is not a hidden text. image
anupama2501 commented 3 years ago

Rancher | v2.5-05fbcbb75ba84a80c5aaa243985e892c52b9ac32-head User Interface | v2.5-dev Helm | v2.16.8-rancher1 Machine | v0.15.0-rancher51

Issue 2: Port Component should be integer labeled input only. On the dashboard, the port is not an integer labeled input

For the port values, I can input all the integers only and the character "." .

Screen Shot 2021-02-16 at 4 23 35 PM

Issue3: Disabled status bit mask for the Active Directory [AD] is still missing the default value 2:

The value for disable status bit mask is empty in the dashboard AD auth entry provider:

Screen Shot 2021-02-16 at 4 26 11 PM
anupama2501 commented 3 years ago

Reopening the issue as the default bit mask is '1'. Should be '2'. Port value should be integers

anupama2501 commented 3 years ago

Verified on v2.5-2f2cfe636f0846abb1e3e751d3aae4c4ae34d291-head From the cluster explorer --> Users and auth --> Auth providers --> Enabled AD and verify the status bit mask value is 2