Ntlm/Kerberos authentication in Django

前端 未结 3 1512
半阙折子戏
半阙折子戏 2020-12-08 03:48

I\'m looking for a guide about adding windows authentication support into a django app, particulary OSQA

I\'m aware about http://code.google.com/p/python-ntlm/ And al

3条回答
  •  盖世英雄少女心
    2020-12-08 03:51

    Generally, if you just want authentication against Active Directory, the approach most likely to succeed is to use LDAP authentication against the Active Directory LDAP service. The only trick is that unlike most LDAP servers, Active Directory needs to have an authenticated user (and password). Most folks end up establishing a 'ldap-query' user with and hardcode that user for the query configuration.

    For examples, see http://djangosnippets.org/snippets/501/ and http://www.google.com/search?q=Django+LDAP+authentication

提交回复
热议问题