Skip to content
Django LDAP configuration middleware wizard
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
django_ldap_wizard
AUTHORS
LICENSE
README.rst
setup.cfg
setup.py
tests.py

README.rst

Django LDAP Wizard

The Django LDAP Wizard is a tool to help you setup your LDAP connection for authentication in your application. As a middleware component, it ensures that your LDAP configuration is setup and working, and if it's not, it helps you to set it up.

Currently, this is a fairly limited library and likely only useful for internal applications as it would present any user with an LDAP configuration page if the LDAP server stopped working, which is probably less than desirable behavior in a public application.

  • Note: The Django LDAP Wizard has been developed against on Django 1.2 and newer.

Installation

  1. Add the django_ldap_wizard directory to your Python path.

  2. Add the following middleware to your project's settings.py file:

    'django_ldap_wizard.middleware.DjangoLDAPWizardMiddleware',

    Being middleware, the LDAP connection will be tested, if it fails then the user is redirected to a page to test the configuration.

Things to do

  • Add a feature to only display the configuration page if you are coming from some particular IP or set of IPs
Something went wrong with that request. Please try again.