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

LDAPAuthenticator with allowed_users #203

Open
christineleroy opened this issue May 7, 2021 · 3 comments
Open

LDAPAuthenticator with allowed_users #203

christineleroy opened this issue May 7, 2021 · 3 comments

Comments

@christineleroy
Copy link

Bug description

Not using allowed_users. Any authenticated user will be allowed

Expected behaviour

I would like to configure a whitelist of users authorized to login to the jupyterhub with LDAPAuthenticator

Actual behaviour

All LDAP users can connect to the jupyterhub .

How to reproduce

c.LDAPAuthenticator.allowed_users = {'xxxxx'}
c.Authenticator.allowed_users = {'xxxxx'}

Your personal set up

  • OS:ubuntu 18
  • pip3 list | grep jupyter
    jupyter-client 6.1.12
    jupyter-core 4.7.1
    jupyter-packaging 0.10.1
    jupyter-server 1.6.4
    jupyter-telemetry 0.1.0
    jupyterhub 1.4.0
    jupyterhub-dummyauthenticator 0.3.1
    jupyterhub-firstuseauthenticator 0.14.1
    jupyterhub-idle-culler 1.1
    jupyterhub-ldapauthenticator 1.3.2
    jupyterhub-nativeauthenticator 0.0.7
    jupyterhub-systemdspawner 0.15.0
    jupyterhub-tmpauthenticator 0.6
    jupyterhub-traefik-proxy 0.1.6
    jupyterlab 3.0.7
    jupyterlab-pygments 0.1.2
    jupyterlab-server 2.1.4
    the-littlest-jupyterhub 0.1
@welcome
Copy link

welcome bot commented May 7, 2021

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

1 similar comment
@welcome

This comment has been minimized.

@consideRatio consideRatio transferred this issue from jupyterhub/the-littlest-jupyterhub Oct 26, 2021
@consideRatio
Copy link
Member

I transferred this issue from https://github.com/jupyterhub/the-littlest-jupyterhub.

@christineleroy are you sure you configured the LDAPAuthenticator correctly for TLJH? If so, this may be a bug in the LDAPAthenticator, otherwise its a support question related to TLJH configuration. Could you provide more details on how you configured TLJH to observe this? Then I can try to manually validate that part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants