django-python3-ldap changelog
=============================

0.15.8
------

- Added ``LDAP_AUTH_TLS_CIPHERS``, ``LDAP_AUTH_TLS_ARGS``, ``LDAP_AUTH_CONNECT_USE_SSL`` and ``LDAP_AUTH_CONNECT_ARGS`` settings (@Freddo3000).


0.15.7
------

- Added ``LDAP_AUTH_POOL_ACTIVE`` setting (@borislaviv).


0.15.6
------

- Support for pyasn1 0.5.x (@borislaviv).


0.15.5
------

- BUGFIX: Fixing ``has_user`` detection in Active Directory (@etianen, @zq3936, @jcanning).


0.15.4
------

- BUGFIX: Fixing redundant rebind when `LDAP_AUTH_CONNECTION_USERNAME` matches the existing username (@gagantrivedi).


0.15.3
------

- BUGFIX: TLS connection is not started even if `LDAP_AUTH_USE_TLS = True` (@githubuserx).

0.15.2
------

- Added ``ldap_clean_users`` command (@jordiromera).

0.15.1
------

- Bugfix: Allows overriding the SSL/TLS version (@FlipperPA).


0.15.0
------

- Allows overriding the SSL/TLS version (@FlipperPA).

0.14.0
------

- Added support for multiple LDAP servers to enable a high-availability server pool (@hho6643).

0.13.1
------

- Django 4.0 compatibility (@sn1c).


0.13.0
------

- Allow syncing individual users with ``ldap_sync_users`` management command (@CristopherH95).


0.12.1
------

- Added support for additional (ignored) keyword arguments to ``authenticate(...)``. This allows use with other
  authentication backends that require different keyword arguments (@stinovlas).


0.12.0
------

- Added ``connection`` and ``dn`` parameters to the ``LDAP_AUTH_SYNC_USER_RELATIONS`` callback (@nigelm).
  See: https://github.com/etianen/django-python3-ldap#sync-user-relations


0.11.4
------

- Fix error when using ldap auth backend with other authentication backends (@leavest).


0.11.3
------

- Django 3.0 compatibility.
- Improved cleanup of LDAP connections that fail initial bind.
- Updated `ldap3` and `pyasn1` dependencies.
- Dropped Python 2.7 support.


0.11.2
------

- Python 3.7 support.


0.11.1
------

- Added `LDAP_AUTH_CONNECT_TIMEOUT` and `LDAP_AUTH_RECEIVE_TIMEOUT` settings (@alizain).


0.11.0
------

- Support added for User models with a ``USERNAME_FIELD`` other than ``username`` (@audiolion).
- Fixed bug with `pyasn1` version (@etianen).


0.10.0
------

- If `settings.LDAP_AUTH_CONNECTION_USERNAME` or `settings.LDAP_AUTH_CONNECTION_PASSWORD` is set, then it will be used to query the LDAP database for user details during authentication.
- Added `django_python3_ldap.utils.format_username_active_directory_principal` option for formatting user-principal-name (e.g. "user@domain.com") Active Directory usernames.


0.9.14
------

- Django 1.11 compatibility (@aritas1).


0.9.13
------

- Fixed issue with LDAP servers returning attributes that are not a list (@etianen).


0.9.12
------

- Update for compatibility with ldap3 2.x release (@etianen).


0.9.11
------

- Added support for LDAP referrals (@etianen).
- Fixed issue with missing LDAP attributes (@smills2929).
- Tweaks and bugfixes (@smills2929).


0.9.10
------

- Django 1.10 compatibility (@etianen, @frennkie).
- Added operational LDAP attributes to ``iter_users`` (@frennkie).
- Dropped Django 1.7 compatibility (@etianen).
- Dropped Python 3.2 and 3.3 compatibility (@etianen).


0.9.9
-----

- Fixing anonymous bind in some LDAP servers (@etianen).


0.9.8
-----

- Fixing security vulnerability allowing users to authenticate with a valid username but with an empty password if anonymous authentication is allowed on the LDAP server (Petros Moisiadis).
- Fixing sync_users command for Microsoft Active Directory (@jjagielka).


0.9.7
-----

- Ability to configure extra filters for user lookup using LDAP_AUTH_SEARCH_FILTERS (@etianen, @Ernest0x).
- Support for Active Directory LDAP servers (@etianen, @brandonusher).
- Python 2.7 compatibility (@NotSqrt).
- Ability to configure relations on loaded user models using LDAP_AUTH_SYNC_USER_RELATIONS (@mnach).
- Switched to specifying paths to functions using dotted string paths in settings (@mnach).


0.9.6
-----

- Added settings option for a username and password to be specified incase anonymous user queries are not allowed (@brandonusher).


0.9.5
-----

- Fixing security vulnerability where username and password could be transmitted in plain text before starting TLS (reported by Weitzhofer Bernhard).


0.9.4
-----

- Fixing broken ldap3 dependency (@levisaya).
- Honoring LDAP_AUTH_CLEAN_USER_DATA setting (@etianen, @akaariai).


0.9.3
-----

- Fixing broken python3-ldap dependency (@ricard33).


0.9.2
-----

- Added setting for initiating TLS on connection (@saraheiting).


0.9.1
-----

- Adding ldap_promote management command.


0.9.0
-----

- First production release.
