Django Web 应用程序访问 Active Directory

Django Web Application Access Active Directory

我正在尝试从 Django Web 应用程序获取用户在本地 Intranet 网络上的 Active Directory 信息。

What I want: ** When Users/Client log on to the website, they can see their various details from the Active Directory **

如果用户在开机时已经输入了用户名和密码。所以他们不需要再做一次。

我怎样才能让用户无需输入用户名和密码就可以进入他们的网站?

Django 项目有一个 Remote-Auth 中间件:https://docs.djangoproject.com/en/2.0/howto/auth-remote-user/

这个 2014 年的 Q 讨论了将其与 Python 2.7 一起使用(我希望 Django 1.x),但我看不出这与以前的版本相比变化太快: Django authenticate using logged in windows domain user