-
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
Exchanging ldap3 constants in if/else #175
Conversation
@manics I hope everything is solved. I believe use_ssl means either SSL or STARTTLS is used, right? Unencrypted communication is not supported at all, is it? |
PS: For me the solution is working in application and the tests pass, I don't know how many more test cases are needed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! The fix makes sense to me
@dhirschfeld would you mind giving a 👍 since you're more familiar with the code? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I haven't looked at this code in a long time but the description in the linked issue seems pretty clear. |
A small question @manics, how will things continue from here? How does the versioning work? According to what I see at https://github.com/jupyterhub/ldapauthenticator the pypi version is at 1.3.1 (including my quick fix from #172), the conda version at 1.3.0 (without the fix, so I guess it should break if you install it freshly), and the last github release is from 1.2.2 (so completely out of date, see https://github.com/jupyterhub/ldapauthenticator/releases). This new proper fix now is on the dev branch for the new version 1.3.2. When might the version 1.3.2 be released? And through which channels? Thank you very much! |
I've just tagged 1.3.2 so it should be on pypi soon. In general conda-forge packages are maintained independently of the Python/Pypi package: https://github.com/conda-forge/jupyterhub-ldapauthenticator-feedstock Though in this case some of the maintainers overlap |
@manics so the github releases (see https://github.com/jupyterhub/ldapauthenticator/releases ) are not used anymore? |
GitHub "releases" are just some UI sugar on top of an ordinary git tag and don't add anything required for packaging. By default All the tags can be seen in the tags view: https://github.com/jupyterhub/ldapauthenticator/tags |
Thank you very much for that information! |
They were just the wrong way round and no error has popped up so far, see the ldap3 author's statements at cannatag/ldap3#855