Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open the "Security -> List Users" page ,When config the auth_ldap #10308

Closed
3 tasks
pokyu opened this issue Jul 14, 2020 · 3 comments
Closed
3 tasks

Can't open the "Security -> List Users" page ,When config the auth_ldap #10308

pokyu opened this issue Jul 14, 2020 · 3 comments
Labels
!deprecated-label:bug Deprecated label - Use #bug instead inactive Inactive for >= 30 days

Comments

@pokyu
Copy link
Contributor

pokyu commented Jul 14, 2020

A clear and concise description of what the bug is.

Expected results

When config the auth_ldap , ldap user can login,but the admin user can't open the "Security -> List Users" page.
Click the page ,it go to "profile" " Dashboards Recently Viewed Favorites"

config.py :

#AUTH_TYPE = AUTH_DB
AUTH_TYPE = AUTH_LDAP
#AUTH_LDAP_UID_FIELD = "uid"

# 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"
AUTH_USER_REGISTRATION_ROLE = "Admin"

# When using LDAP Auth, setup the LDAP server
AUTH_LDAP_SERVER = "ldap://ldap.nextop.cc"
AUTH_LDAP_SEARCH = "dc=vantopgroup,dc=com"
AUTH_LDAP_UID_FIELD = "cn"

AUTH_LDAP_BIND_USER = "cn=user,ou=IT,dc=vantopgroup,dc=com"
AUTH_LDAP_BIND_PASSWORD = "password"

superset version:0.36.0
python :3.6.8

Actual results

what actually happens.

Screenshots

If applicable, add screenshots to help explain your problem.

How to reproduce the bug

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Environment

(please complete the following information):

  • superset version: superset version
  • python version: python --version
  • node.js version: node -v
  • npm version: npm -v

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

@pokyu pokyu added the !deprecated-label:bug Deprecated label - Use #bug instead label Jul 14, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.84. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@dpgaspar
Copy link
Member

Hi, thank you for reporting this. A fix (#10310) just got merged on master that may be related to this. Can you update and run superset init then try again?

@stale
Copy link

stale bot commented Sep 12, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label Sep 12, 2020
@stale stale bot closed this as completed Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

2 participants