Mikoakos opened a new issue, #32884: URL: https://github.com/apache/superset/issues/32884
### Bug description Hi All, We’ve encountered the following issue. We used the configuration below for LDAP authentication; however, upon attempting to log in, we received an "invalid login" error message. `from flask_appbuilder.security.manager import AUTH_LDAP AUTH_TYPE = AUTH_LDAP AUTH_LDAP_ALLOW_LOCAL_DB = True AUTH_USER_REGISTRATION = True AUTH_USER_REGISTRATION_ROLE = "Gamma" AUTH_LDAP_USE_TLS = False AUTH_LDAP_SERVER = "ldap://XX.XX.XX.XX:389" AUTH_LDAP_SEARCH = "ou=Client,dc=bm,dc=hu" AUTH_LDAP_BIND_USER = "cn=Manager,dc=bm,dc=hu" AUTH_LDAP_BIND_PASSWORD = "xxxxxx" AUTH_LDAP_UID_FIELD = "pertuEmail" AUTH_LDAP_SEARCH_FILTER = "(|(pertuEmail={username})(uid={username}))" AUTH_LDAP_ALLOW_SELF_SIGNED = True AUTH_LDAP_APPEND_DOMAIN = False AUTH_API_LOGIN_ALLOW_MULTIPLE_PROVIDERS = True AUTH_ROLES_MAPPING = { "ou=Client,dc=bm,dc=hu": ["Gamma", "Alpha"], "cn=Manager,dc=bm,dc=hu": ["Admin"], } AUTH_ROLES_SYNC_AT_LOGIN = True ` The system did not allow us to log in either via LDAP or with previously stored users. Best regards, Ákos Mikovics ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.11 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [x] I have searched Superset docs and Slack and didn't find a solution to my problem. - [x] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
