apache / apache/cloudstack

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

Abierto
#12,595 1 comentario 0 reacciones 0 asignados Ver en GitHub
component:LDAP component:saml
Lenguaje dominante
Java
Estrellas
3.1k
Forks
1.4k
Merge medio
6 d 19 h
PR fusionados (30 d)
32

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo los pasos de importación LDAP, autorización SAML, deshabilitación de SAML e inicio de sesión LDAP descritos en el issue; después, lee el comportamiento cambiado en PR #10868. Rastrea dónde se cambia el tipo de usuario de la cuenta cuando SAML está deshabilitado. Se considera terminado cuando la cuenta vuelve al tipo de usuario LDAP y puede autenticarse con credenciales LDAP mientras la configuración indicada está habilitada.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
authentication
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
52/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.