apache / apache/cloudstack

Ldap imported accounts which are saml enabled doesn't fallback to ldap if saml is disabled

未關閉
#12,595 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
component:LDAP component:saml
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

### problem

Ldap imported accounts which are saml enabled doesn't fallback to ldap if saml is disabled

### versions

ACS 4.23 Nightly

### The steps to reproduce the bug

1. Configure a LDAP and Import a LDAP account

Image

2. Check the user type , its set to LDAP

Image

3. Authorize SAML to the imported ldap account

Image

4. The user type is assigned as SAML

Image

5. Disable SAML SSO

Image

6. The user type is assigned as NATIVE TYPE

Image

7. The LDAP imported user is not able to login with LDAP credentials since the user type changes

made sure the setting

enable.login.with.disabled.saml is set to true

https://github.com/apache/cloudstack/pull/10868

### What to do about it?

If the SAML authentication is disabled for a LDAP imported account.

The user type should switch back to LDAP

貢獻指南

開啟貢獻指南

研究方向

首先,重現 issue 中描述的 LDAP 匯入、SAML 授權、SAML 停用和 LDAP 登入步驟,然後閱讀 PR #10868 中變更的行為。追蹤停用 SAML 時帳戶使用者類型變更的位置。當帳戶恢復為 LDAP 使用者類型,並且在所述設定啟用的情況下能夠使用 LDAP 憑證進行驗證時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
authentication
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。