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

PAM Authentification is not working #4434

Open
moritzxt opened this issue Apr 27, 2023 · 2 comments
Open

PAM Authentification is not working #4434

moritzxt opened this issue Apr 27, 2023 · 2 comments
Labels

Comments

@moritzxt
Copy link

Bug description

After installation of Jupyterhub with Anaconda configuring it and running Jupyterhub as a service on Rocky Linux 8.7 I can open up the login page of the jupyterhub, the service is running. When I try to login, there is an error displaying "Invalid Username or Password". For authentification I am using the default PAM Authentifacator.

Expected behaviour

Login successfully and start the Jupyterlab of the User

Actual behaviour

I can't login, with any useraccount. The error which I got with journalctl jupyterhub is:
PAM unable to dlopen(/usr/lib64/security/pam_unix.so): /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

How to reproduce

1.Set up Jupyterhub with recent openssl on your system
2. Configure it with PAM autehntification
3. Try to login
4. See error

Your personal set up

Jupyterhub the hard way

  • OS: Rocky Linux 8.7
  • Version(s): Jupyterhub 3.1.1
  • openssl version on the system 1.1.1t
  • from jupyter /miniconda/envs/hub/lib/libcrypto.so.1.1 is installed
  • under usr/lib64/libk5crypto.so.3 is installd
Full environment
# paste output of `pip freeze` or `conda list` here
Configuration
# jupyterhub_config.py
Logs
@moritzxt moritzxt added the bug label Apr 27, 2023
@welcome
Copy link

welcome bot commented Apr 27, 2023

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! 🎉

@moritzxt
Copy link
Author

I found a solution for the problem here https://bugzilla.redhat.com/show_bug.cgi?id=1829790
I deleted /miniconda/envs/hub/lib/libcrypto.so.1.1 now it seems to work

@moritzxt moritzxt changed the title PAM Autehntification is not working PAM Authentification is not working Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant