You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/10/21 07:27:02 UTC

[GitHub] [superset] keith-ch commented on issue #14391: Can't login with local accaunt

keith-ch commented on issue #14391:
URL: https://github.com/apache/superset/issues/14391#issuecomment-948333095


   > > Hi @fropa to be honest, this is probably a better question for Stack Overflow. You can use the apache-superset tag: https://stackoverflow.com/questions/tagged/apache-superset
   > > Can you provide significantly more context on your setup so people here on Github or on StackOverflow can _try_ to help?
   > 
   > Hi srinify, thank you for your answer, I'll ask on StackOverflow and provide more details here too.
   > 
   > I did that context :
   > 
   > ```
   > from flask_appbuilder.security.manager import AUTH_OID
   > from flask_appbuilder.security.manager import AUTH_REMOTE_USER
   > from flask_appbuilder.security.manager import AUTH_DB
   > from flask_appbuilder.security.manager import AUTH_LDAP
   > ```
   > 
   > ```
   > AUTH_TYPE = AUTH_LDAP
   > AUTH_USER_REGISTRATION = True
   > AUTH_USER_REGISTRATION_ROLE = "Public"
   > 
   > AUTH_LDAP_SERVER = "ldap://10.10.0.50"
   > AUTH_LDAP_USE_TLS = False
   > AUTH_LDAP_BIND_USER = "CN=Administrator,CN=Users,DC=gru,DC=lab"
   > AUTH_LDAP_BIND_PASSWORD = "password"
   > AUTH_LDAP_SEARCH = "DC=gru,DC=lab"
   > AUTH_LDAP_GROUP_FIELS="CN=linuxadmins,DC=gru,DC=lab"
   > AUTH_LDAP_SEARCH = "DC=gru,DC=lab"
   > AUTH_LDAP_UID_FIELD = "sAMAccountName"
   > AUTH_LDAP_FIRSTNAME_FIELD = "givenName"
   > AUTH_LDAP_LASTNAME_FIELD = "sn"
   > ```
   > 
   > with that configuration I can log in to superset web, (I'm trying to split login roles with "AUTH_ROLES_MAPPING" but with no luck yet) but when I log in through LDAP users, I can't use local user such as admin (the user which created during installation).
   
   @fropa Same issue, any solutions?


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org