Pas.plugins.ldap 2.0.0rc1

:tada: The first release candidate for pas.plugins.ldap 2.0.0 is on PyPI.

Yeah, it took long and the branch for plone 6 was there for ages...

This is a big modernization release targeting Plone 6.0–6.2 and Python 3.10–3.14. If you already run the development branch / main in production, this one is for you β€” please give the rc a spin so we can ship a solid final 2.0.0.

Highlights since 1.8.x

  • New control panel UX for the LDAP / Active Directory configuration.
  • i18n support + Spanish translation (catalogs are compiled and shipped automatically now).
  • Default user roles β€” LDAP users can be granted a configured role (default Member) via the plugin’s Roles interface.
  • Fixes: portrait property-sheet handling (#68), getRolesForPrincipal activation guard + @security.private, LDAP inspector no longer 500s on undecodable attributes, correct control-panel permission, and improved connection-test correctness via node.ext.ldap 2.0.

:warning: Upgrade notes (from 1.8.x)

  • Plone 6.0–6.2 / Python 3.10+ only β€” Plone 5 and Python < 3.10 are dropped.
  • Dependency bumps: now requires node.ext.ldap>=2.0 and yafowil.plone>=6.0; stale deps removed (five.globalrequest, six, setuptools). Adjust your constraints/pins.
  • Timeout default changed: PAS_PLUGINS_LDAP_OPT_TIMEOUT now defaults to 30s (was 2s). Override via the env var if you relied on the old value.
  • Roles behavior: if you activate the Roles plugin interface, matched LDAP users receive the configured role (default Member).

Try it

pip install --pre pas.plugins.ldap
# or pin it:
pip install pas.plugins.ldap==2.0.0rc1

pip won’t pick the rc up automatically, so existing installs stay on 1.8.x until you opt in.

Feedback

Please report anything you hit β€” especially around groups/AD setups, the control panel, and upgrades from 1.8.x. Full changelog and issues are linked from the release:

Thanks for testing!

6 Likes

I use this addon in some Plone 6.2 Sites without Problems.

1 Like