django-ldap-sync

A Django application for synchronizing LDAP users and groups


Keywords
django, ldap, active, directory, synchronize, sync
License
BSD-3-Clause
Install
pip install django-ldap-sync==0.5.0

Documentation

django-ldap-sync

django-ldap-sync provides a Django management command that synchronizes LDAP users and groups from an authoritative server. It performs a one-way synchronization that creates and/or updates the local Django users and groups.

This synchronization is performed each time the management command is run and can be fired manually on demand, via an automatic cron script or as a periodic Celery task.

Quickstart

  1. Install the application:

    pip install django-ldap-sync
    
  2. Append it to the installed apps:

    INSTALLED_APPS = (
        # ...
        'ldap_sync',
    )
    
  3. Configure the required settings.

  4. Run the synchronization management command:

    manage.py syncldap
    

For more information on installation and configuration, see the included documentation or read the documentation online at django-ldap-sync.readthedocs.org.