jupyterhub / systemdspawner

Spawn JupyterHub single-user notebook servers with systemd
BSD 3-Clause "New" or "Revised" License
92 stars 45 forks source link

Use with LDAP authenticator #84

Open marcelned opened 3 years ago

marcelned commented 3 years ago

Bug description

Setup queries LDAP server and launches a JupyterLab instance in the home directory of the user (each user has a Linux user set up already)

Without systemdspawner the setup works perfectly, but as soon as its configured spinning up the user's spawner hangs midway.

I suspect the user needs spawn home directory set in systemdspawner, and their permissions given to the conda environment's jlab executables?

(Corporate Usernames and IP addresses are masked in logs and jhubconfig.py)

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:

mathause commented 3 years ago

Can you use the PAMAuthenticator instead of the LDAPAuthenticator if the user already has a home directory etc.? I use this setup and that works (for me).