Skip to content
Snippets Groups Projects
Commit deebb330 authored by admiralobvious's avatar admiralobvious
Browse files

Release 0.4.0

parent b5a4cdd8
Branches
No related tags found
No related merge requests found
......@@ -5,3 +5,4 @@
Alexandre Ferland (admiralobvious)
Chris Seymour (iiSeymour)
Timothy Allen (OptiverTimAll)
Jose Manuel (jm66)
......@@ -49,7 +49,7 @@ Configuration
:class:`~flask_simpleldap.LDAP` understands the following configuration
directives:
============================ ===================================================
================================== ===================================================
``LDAP_HOST`` The host name or IP address of your LDAP server.
Default: 'localhost'.
``LDAP_PORT`` The port number of your LDAP server. Default: 389.
......@@ -90,7 +90,13 @@ directives:
:meth:`.basic_auth_required()` will use this as
the "realm" part of HTTP Basic Authentication when
responding to unauthenticated requests.
============================ ===================================================
``LDAP_OPENLDAP`` Set to ``True`` if your server is running OpenLDAP.
Default: ``False``
``LDAP_GROUP_MEMBER_FILTER`` The group member filter to use when using OpenLDAP.
Default: '*'
``LDAP_GROUP_MEMBER_FILTER_FIELD`` The group member filter field to use when using OpenLDAP.
Default: '*'
================================== ===================================================
API
......@@ -108,6 +114,10 @@ History
Changes:
- 0.4.0: September 5, 2015
- Added support for OpenLDAP directories. Thanks to `@jm66 <https://github.com/jm66>`_ on GitHub.
- 0.3.0: January 21, 2015
- Fix Github issue `#10 <https://github.com/admiralobvious/flask-simpleldap/issues/10>`_,
......@@ -118,7 +128,7 @@ Changes:
- 0.2.0: December 7, 2014
- Added HTTP Basic Authentication. Thanks to OptiverTimAll on GitHub.
- Added HTTP Basic Authentication. Thanks to `@OptiverTimAll <https://github.com/optivertimall>`_ on GitHub.
- Fix GitHub issue `#4 <https://github.com/admiralobvious/flask-simpleldap/issues/4>`_,
User or group queries are vulnerable to LDAP injection.
Make sure you update your filters to use '%s' instead of the old '{}'!
......
......@@ -9,7 +9,7 @@ from setuptools import setup
setup(
name='Flask-SimpleLDAP',
version='0.3.0',
version='0.4.0',
url='https://github.com/admiralobvious/flask-simpleldap',
license='MIT',
author='Alexandre Ferland',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment