community/py3-django-auth-ldap: upgrade to 5.0.0
https://github.com/django-auth-ldap/django-auth-ldap/releases/tag/5.0.0
Breaking changes:
An LDAPError
during an LDAP search operation would cause the library to assume an empty result set.
When mirroring groups, only a portion of a user groups would be mirrored. Allowing them to proceed with authentication may then break application access controls, as membership to a group (imagine an exclude group) would be missing.
The library now systematically sends the ldap_error
django signal. If an LDAPError
occurs during an operation, the operation is aborted. In particular, when mirroring groups (LDAPUser._mirror_groups
), an AuthenticationFailed
might now be raised.
See #378 for details.