fropa commented on issue #14391:
URL: https://github.com/apache/superset/issues/14391#issuecomment-829504634


   > 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).
   


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to