superset icon indicating copy to clipboard operation
superset copied to clipboard

Ldap Auth setup can't debug what is the problem

Open rohitpawar2811 opened this issue 2 years ago • 0 comments

A clear and concise description of what the bug is.

My configurations

from flask_appbuilder.security.manager import AUTH_LDAP

AUTH_TYPE = AUTH_LDAP 
AUTH_ROLE_ADMIN = 'admin'
AUTH_USER_REGISTRATION = True 
AUTH_LDAP_SERVER = "ldap://localhost:389"
# AUTH_LDAP_SEARCH="ou=people,dc=superset,dc=com"
AUTH_LDAP_SEARCH= "cn=admin,dc=ramhlocal,dc=com"
# AUTH_LDAP_APPEND_DOMAIN = "XXX.com"
AUTH_LDAP_UID_FIELD="cn"
AUTH_LDAP_FIRSTNAME_FIELD= "Rohit"
AUTH_LDAP_LASTTNAME_FIELD= "sn"
AUTH_LDAP_USE_TLS = False

AUTH_LDAP_BIND_USER= "ou=people,dc=superset,dc=com"

AUTH_LDAP_ALLOW_SELF_SIGNED= True
AUTH_LDAP_APPEND_DOMAIN= False

Expected results It will make me log onto superset by using ldap user.

Actual results I can't log to superset by normal password as well the ldap one password. And I can be able to debug because no error came related to ldap.

Environment

  • superset version: superset-2.0.0-dev

I already did I install the python-ldap package in my container.

Just I want a way to get logs of what i am making wrong , yet i can't get any msg related to ldap in all container logs . Any way

rohitpawar2811 avatar Nov 16 '22 13:11 rohitpawar2811