Ldap imported accounts which are saml enabled doesn't fallback to ldap if saml is disabled
- Langage dominant
- Java
- Étoiles
- 3.1k
- Forks
- 1.4k
- Merge moyen
- 6 j 19 h
- PR mergées (30 j)
- 32
Description
### 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
2. Check the user type , its set to LDAP
3. Authorize SAML to the imported ldap account
4. The user type is assigned as SAML
5. Disable SAML SSO
6. The user type is assigned as NATIVE TYPE
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire les étapes d’importation LDAP, d’autorisation SAML, de désactivation de SAML et de connexion LDAP décrites dans l’issue, puis lisez le comportement modifié dans PR #10868. Suivez l’endroit où le type d’utilisateur du compte est modifié lorsque SAML est désactivé. Le travail est terminé lorsque le compte revient au type d’utilisateur LDAP et peut s’authentifier avec des identifiants LDAP alors que le paramètre indiqué est activé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- authentication
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 52/100