- Update to 5.1.0:
* Allow importing the backend without loading apps by @francoisfreitag in #382 (Closes#380)
* Drop support for EOL Python 3.8 by @francoisfreitag in #383
- 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.
* Drop support for django 3.2 by @francoisfreitag in #371
* Add support for Django 5.1 by @francoisfreitag in #373
* Restore testing for Python 3.8 and 3.9 by @francoisfreitag in #375
* Test support for Python 3.13 by @francoisfreitag in #374
OBS-URL: https://build.opensuse.org/request/show/1248126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-auth-ldap?expand=0&rev=19
* Allow importing the backend without loading apps by @francoisfreitag in #382 (Closes#380)
* Drop support for EOL Python 3.8 by @francoisfreitag in #383
- 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.
* Drop support for django 3.2 by @francoisfreitag in #371
* Add support for Django 5.1 by @francoisfreitag in #373
* Restore testing for Python 3.8 and 3.9 by @francoisfreitag in #375
* Test support for Python 3.13 by @francoisfreitag in #374
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-auth-ldap?expand=0&rev=21
- Use fdupes
- Update to v4.0.0
* The signal ldap_error now has an additional `request` keyword.
* Added support for Python 3.10.
* Added support for Django 4.0.
- from v3.0.0
* Dropped support for Django 3.0.
* Dropped deprecated setting ``AUTH_LDAP_CACHE_GROUPS``.
* Callables passed to ``AUTH_LDAP_SERVER_URI`` must now take a
``request`` positional argument.
- from v2.4.0
* Added support for Django 3.2.
- from v2.3.0
* Removed support for end of life Django 1.11. Django 2.2+ reqd.
* Removed support for end of life Python 3.5.
* Added support for Django 3.1.
* Added support for Python 3.9.
OBS-URL: https://build.opensuse.org/request/show/956491
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-auth-ldap?expand=0&rev=16
- Update to 2.0.0:
- Removed support for Python 2 and 3.4.
- Removed support for end of life Django 2.0.
- Added support for Django 2.2.
- Add testing and support for Python 3.7 with Django 1.11 and 2.1.
- When :setting:`AUTH_LDAP_SERVER_URI` is set to a callable, it is now passed a
positional ``request`` argument. Support for no arguments will continue for
backwards compatibility but will be removed in a future version.
- Added new :setting:`AUTH_LDAP_NO_NEW_USERS` to prevent the creation of new
users during authentication. Any users not already in the Django user
database will not be able to login.
OBS-URL: https://build.opensuse.org/request/show/731233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-auth-ldap?expand=0&rev=12
- Removed support for Python 2 and 3.4.
- Removed support for end of life Django 2.0.
- Added support for Django 2.2.
- Add testing and support for Python 3.7 with Django 1.11 and 2.1.
- When :setting:`AUTH_LDAP_SERVER_URI` is set to a callable, it is now passed a
positional ``request`` argument. Support for no arguments will continue for
backwards compatibility but will be removed in a future version.
- Added new :setting:`AUTH_LDAP_NO_NEW_USERS` to prevent the creation of new
users during authentication. Any users not already in the Django user
database will not be able to login.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-auth-ldap?expand=0&rev=8
- Update to 1.1.8:
* Fix#43: Update django_auth_ldap.config.LDAPSearchUnion to work for
group searches in addition to user searches.
* Tox no longer supports Python 2.5, so our tests now run on 2.6 and 2.7 only.
* Bug fix: AUTH_LDAP_GLOBAL_OPTIONS could be ignored in some cases
(such as django_auth_ldap.backend.LDAPBackend.populate_user.
* Fix#41: Support POSIX group permissions with no gidNumber attribute.
* Support multiple group DNs for *_FLAGS_BY_GROUP. (forwarded request 222277 from Nijel)
OBS-URL: https://build.opensuse.org/request/show/222337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-auth-ldap?expand=0&rev=4