apache / apache/cloudstack

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

オープン
#12,595 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
component:LDAP component:saml
主要言語
Java
スター
3.1k
フォーク
1.4k
平均マージ
6日 19時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。