Using AD as authentication for Django

Technical Bard picture Technical Bard · Jan 4, 2009 · Viewed 31.5k times · Source

I'm working on a Django-based application in a corporate environment and would like to use the existing Active Directory system for authentication of users (so they don't get yet another login/password combo). I would also like to continue to use Django's user authorization / permission system to manage user capabilities.

Does anyone have a good example of this?

Answer

Jeff Bauer picture Jeff Bauer · Jan 4, 2009

Here's another more recent snippet (July 2008, updated Dec 2015):

Authentication Against Active Directory (LDAP) over SSL