-
Notifications
You must be signed in to change notification settings - Fork 178
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
use_ssl set to False, cannot connect to ldap server with plaintext #231
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
I encountered the same problem and was able to resolve it using the same method. I'm using docker and the details are as follows. Host: RHEL8
The patch I applied is as follows.
|
When I tried to create a pull request with this patch, it resulted in errors during tests from Python 3.7 to 3.11. Applying the changes proposed in pull request #216 and specifying |
Applying #216, that is, cloning and installing from https://github.com/loic-vial/ldapauthenticator and specifying Therefore, I believe this issue will be resolved in the next scheduled release. |
Bug description
with configuration of :
I expect jupyterhub will authenticate user with ldap server through plaintext communication. but it will get
ldap3.core.exceptions.LDAPStartTLSError: startTLS failed - protocolError.
How to reproduce
Expected behaviour
Authentication works
Actual behaviour
get exception ldap3.core.exceptions.LDAPStartTLSError: startTLS failed - protocolError.
Your personal set up
I check source code, it seems following line of code(line 307~309) causing issue:
when I use ldap3.AUTO_BIND_NO_TLS if use_ssl is false, the binding works.
Does LDAPAuthenticator support plaintext communication?
jupyterhub 4.0.2
The text was updated successfully, but these errors were encountered: