ldapauthenticator icon indicating copy to clipboard operation
ldapauthenticator copied to clipboard

LDAPAuthenticator with allowed_users

Open christineleroy opened this issue 3 years ago • 3 comments

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

christineleroy avatar May 07 '21 12:05 christineleroy

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
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! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar May 07 '21 12:05 welcome[bot]

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
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! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar Oct 26 '21 12:10 welcome[bot]

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.

consideRatio avatar Oct 26 '21 13:10 consideRatio