skip to navigation
skip to content

django-kdl-ldap 1.1

Django LDAP authentication for KDL

Django LDAP authentication

This application uses django-auth-ldap_ to authenticate against KDL's LDAP service. If the LDAP authentication fails it falls back to Django authentication, so it is possible to have local Django accounts.

#. ``pip install django-kdl-ldap``
#. add ``kdl_ldap`` to ``INSTALLED_APPS``
#. import the ``kdl_ldap`` settings into your project's settings ``from kdl_ldap.settings import * # noqa``.
#. Add the setting ``AUTH_LDAP_REQUIRE_GROUP`` to your project settings and set it to the LDAP group you want to authenticate to: ``AUTH_LDAP_REQUIRE_GROUP = 'cn=PROJECT_GROUP_NAME,' + LDAP_BASE_OU``.
#. Add ``kdl_ldap`` signal handler into your project urls:

from kdl_ldap.signal_handlers import register_signal_handlers as \

System requirements

The python/django LDAP libraries depend on the ``libldap2-dev`` and ``libsasl2-dev`` systemlibraries.

.. _django-auth-ldap:

File Type Py Version Uploaded on Size
django-kdl-ldap-1.1.tar.gz (md5) Source 2017-06-28 3KB
django_kdl_ldap-1.1-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-06-28 4KB