jupyterhub / ldapauthenticator

LDAP Authenticator Plugin for Jupyter
BSD 3-Clause "New" or "Revised" License
202 stars 175 forks source link

LDAPAuthenticator with allowed_users #203

Open christineleroy opened 3 years ago

christineleroy commented 3 years ago

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

welcome[bot] commented 3 years ago

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] commented 2 years ago

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:

consideRatio commented 2 years ago

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.