jupyterhub / ldapauthenticator

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

jupyterhub ldap auth using certificate - how to #210

Closed alnhk closed 2 weeks ago

alnhk commented 2 years ago

We are doing POC to setup the jupyterhub with ldapauthenticator. Currently, our SSL enabled openLDAP only accepts certificate like this below example

ldap_uri = ldap://ldap:389 ldap_default_bind_dn = cn=serviceaccount,dc=example,dc=com ldap_default_authtok_type = password ldap_default_authtok = 0hdsvmofnvp ldap_search_base = dc=example,dc=com ldap_id_use_start_tls = true ldap_tls_reqcert = hard ldap_tls_cacert = /etc/pki/tls/CA/ldap.ca

How do we define above lines in jupyter_config.py with below starting line ? c.JupyterHub.authenticator_class = 'ldapauthenticator.LDAPAuthenticator'

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 weeks ago

Indont think you can at the moment, but should with #49 resolved. I'll let that issue represent this and close this. Thanks for making it known it can be relevant to do this!!