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 2019/06/12 22:33:36 UTC

[GitHub] [incubator-superset] Elaine66 commented on issue #4840: ldap configuration

Elaine66 commented on issue #4840: ldap configuration
URL: https://github.com/apache/incubator-superset/issues/4840#issuecomment-501479072
 
 
   > Was able to connect to LDAP Test Server
   > http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
   > 
   > With following config
   > 
   > ```
   > AUTH_TYPE = AUTH_LDAP
   > 
   > # Uncomment to setup Full admin role name
   > AUTH_ROLE_ADMIN = 'Admin'
   > 
   > # Uncomment to setup Public role name, no authentication needed
   > # AUTH_ROLE_PUBLIC = 'Public'
   > 
   > # Will allow user self registration
   > AUTH_USER_REGISTRATION = True
   > 
   > # The default user self registration role
   > # AUTH_USER_REGISTRATION_ROLE = "Public"
   > 
   > # When using LDAP Auth, setup the ldap server
   > AUTH_LDAP_SERVER = "ldap://ldap.forumsys.com:389"
   > AUTH_LDAP_SEARCH = "dc=example,dc=com"
   > AUTH_LDAP_BIND_USER = "uid=riemann,dc=example,dc=com"
   > AUTH_LDAP_BIND_PASSWORD = "password"
   > ```
   > 
   > For user
   > 
   > ```
   > User:riemann
   > Password:password
   > ```
   
   I am actually following the same logic as you. And superset is running on the server now. But i cannot log-in with my information written in the configuration file. 
   > AUTH_LDAP_BIND_USER = "uid=superset_bot,cn=users,dc=example,dc=com"
   > AUTH_LDAP_BIND_PASSWORD = "my_password"
   
   What I entered in the log-in page: 
   username: superset_bot
   password: my_password
   
   However, it gives me the error of "Invalid login. Please try again." Does anyone know why? 
   <img width="1189" alt="Screen Shot 2019-06-12 at 3 33 18 PM" src="https://user-images.githubusercontent.com/27517942/59390884-6b99e700-8d27-11e9-8b98-964502c175c2.png">
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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