{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/9"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"},{"label":"LDAP","url":"https://skillfed.io/packages/category/system-systems-administration-authentication-directory-ldap"}],"enrichment":{"capability":"Provides a Django authentication backend that validates user credentials against an LDAP directory service, supporting user search, group membership, and permission mapping.","skillfed_tags":["ldap-authentication","enterprise-identity","directory-services"],"use_cases":["Authenticate Django users against an Active Directory or OpenLDAP directory in an enterprise environment.","Map LDAP group membership to Django user flags (is_staff, is_superuser) and permissions without local database management.","Populate Django user profiles (name, email) automatically from LDAP attributes on first login.","Restrict Django application access to specific LDAP groups while allowing others to be denied.","Migrate from local password storage to centralized directory authentication in an existing Django project."],"what_it_does":"django-auth-ldap is a Django authentication backend that delegates user authentication to an LDAP directory service such as Active Directory or OpenLDAP. Instead of storing passwords in Django's database, it validates credentials against your organization's directory, allowing centralized identity management. The package handles user lookup via LDAP search or distinguished name templates, maps LDAP attributes to Django user fields, and can derive group membership and permissions directly from LDAP groups.\n\nThe backend integrates into Django's authentication system by registering as a custom backend in AUTHENTICATION_BACKENDS. It supports rich configuration for user discovery, group restrictions, attribute mapping, and permission calculation. You can use it alongside Django's built-in ModelBackend to combine LDAP authentication with local permissions, or run it exclusively with LDAP-sourced groups. The package caches LDAP queries to reduce directory traffic and works with custom user models.","worth_installing":"Yes, if you need LDAP authentication in Django. The package is actively maintained, has no known vulnerabilities, low install friction (aside from system OpenLDAP libraries), and is widely used in enterprise environments. The BSD license is permissive. Install only if your deployment uses LDAP or Active Directory; it adds no value for applications with local-only authentication."},"id":"django-auth-ldap","links":{"html":"https://skillfed.io/packages/django-auth-ldap","md":"https://skillfed.io/packages/django-auth-ldap.md","pypi":"https://pypi.org/project/django-auth-ldap/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-12-26","license_spdx":null,"license_treatment":"permissive","name":"django-auth-ldap","python_support":"supports_current","summary":"Django LDAP authentication backend"},"popularity":{"monthly_downloads":693255,"position":5316,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"5.3.0"}
