UNCLASSIFIED - NO CUI

Skip to content

Update dependency jupyterhub-ldapauthenticator to v2

This MR contains the following updates:

Package Update Change
jupyterhub-ldapauthenticator major ==1.3.2 -> ==2.0.0

Warning

Some dependencies could not be looked up. Check the warning logs for more information.


Release Notes

jupyterhub/ldapauthenticator (jupyterhub-ldapauthenticator)

v2.0.0

Compare Source

(full changelog)

Breaking Changes
  • python>=3.9, jupyterhub>=4.1.6, and ldap3>=2.9.1 is now required. (#​245, #​256)

  • Configuring auth_state_attributes now leads to user information being put in auth_state["user_attributes"] and not directly in auth_state. (#​269)

  • use_lookup_dn_username now defaults to False and is opt-in instead of opt-out. To retain previous behavior if you had lookup_dn set True without use_lookup_dn_username explicitly set, configure use_lookup_dn_username to True. (#​280)

  • lookup_dn now rejects an authenticating user if multiple DNs are returned during lookup. (#​276)

  • In the edge case if both...

    1. the following config is used:
      • lookup_dn = True,
      • lookup_dn_user_dn_attribute = "cn"
      • use_lookup_dn_username = True (previous default value)
    2. and one or more users previously signed in at least once had a comma in their cn attribute's value

    then such users will get a new JupyterHub username going forward looking like "lastname, firstname" instead of looking like "lastname\\, firstname". (#​267)

Deprecations
  • use_ssl has been deprecated, instead configure tls_strategy going forward. Configuring use_ssl=True should be updated with tls_strategy="on_connect", and configuring use_ssl=False could be updated to either be tls_strategy="before_bind" (default) or tls_strategy="insecure". (#​258)
  • escape_userdn has been deprecated, usernames used to construct DNs are now always escaped according to LDAP protocol specification of how DNs should be represented in string format. (#​267)
New features added
Enhancements made
Bugs fixed
Maintenance and upkeep improvements
Documentation improvements
Continuous integration improvements
Contributors to this release

The following people contributed discussions, new ideas, code and documentation contributions, and review. See our definition of contributors.

(GitHub contributors page for this release)

@​1kastner (activity) | @​Aethylred (activity) | @​bloodeagle40234 (activity) | @​brindapabari (activity) | @​consideRatio (activity) | @​Cronan (activity) | @​dhirschfeld (activity) | @​dmpe (activity) | @​edergillian (activity) | @​ehooi (activity) | @​GlennHD (activity) | @​healinyoon (activity) | @​jdkruzr (activity) | @​kinow (activity) | @​loic-vial (activity) | @​m-erhardt (activity) | @​mananpreetsingh (activity) | @​manics (activity) | @​mannevijayakrishna (activity) | @​marcusianlevine (activity) | @​marty90 (activity) | @​minrk (activity) | @​mk-raven (activity) | @​Nikolai-Hlubek (activity) | @​nylocx (activity) | @​ordlucas (activity) | @​Ownercz (activity) | @​ragul-inv (activity) | @​reinierpost (activity) | @​sebastian-luna-valero (activity) | @​sgibson91 (activity) | @​wiltonsr (activity) | @​wsuzume (activity) | @​ygean (activity) | @​yuvipanda (activity)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports