How to store LDAP password into Django DB? Combine LDAP and classical authentication in django Authenticating and populating users in Django using a Windows Active Directory and SASL https://github.com/django-auth-ldap/django-auth-ldap/blob/master/django_auth_ldap/backend.py