我已经像这样配置了 Apache,以便它发送 LDAP 请求。通过键入在 Windows 上创建的用户凭据,我可以登录系统。但是,我想知道是否有可能 Chrome 会传递当前用户的凭据并自动登录,而不是输入?
我尝试了这个解决方案(添加受信任的站点)它没有用:https://knowledge.kofax.com/Smart_Process_Applications_-_TotalAgility/Configuration/Configure_Chrome_To_Allow_Windows_Authentication_Without_Prompting
Apache 配置:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Location /test>
AuthLDAPBindDN "CN=bind,CN=Users,DC=dd,DC=intra"
AuthLDAPBindPassword "123456"
AuthLDAPURL "ldap://192.168.3.41/CN=Users,DC=dd,DC=intra?sAMAccountName?sub?(objectClass=*)"
AuthType Basic
AuthName "USE YOUR WINDOWS ACCOUNT"
AuthBasicProvider ldap
# Important, otherwise "(9)Bad file descriptor: Could not open password file: (null)"
AuthUserFile /dev/null
Require valid-user
</Location>
</VirtualHost>