阿帕奇 - 配置mod_auth_sspi.so [英] Apache - Configuring mod_auth_sspi.so
问题描述
我想用自己的Windows凭证来实现自动登录功能到我的mediawiki。我使用的Apache服务器(V2.2)。
I am trying to implement an auto login function into my mediawiki by using their windows credentials. I am using Apache Server (V2.2).
我已经实现了验证remoteuser表推广和实施了mod_auth_sspi.so在我的httpd.conf文件,并具有其配置为如下所示
I have implemented the Auth remoteuser extension and has implemented the mod_auth_sspi.so in my httpd.conf file and has configure it to be as follows
<IfModule !mod_auth_sspi.c>
LoadModule sspi_auth_module modules/mod_auth_sspi.so
</IfModule>
<Location "file/to/path">
Options FollowSymLinks
Order allow,deny
Allow from all
AuthName "TestWeb"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOmitDomain On
SSPIOfferBasic on
Require valid-user
</Location>
然而,它给我的提示输入在IE /火狐/ Chrome浏览器的用户名和密码,我不想提示出现。我希望它自动登录到直MEDIAWIKI没有提示。这一步是我做错了吗?
However, it gives me the prompt to type in the username and password on IE/Firefox/Chrome which I don't want the prompt to appear. I want it to auto login to mediawiki straight without the prompt. Which step am I doing wrong?
我如何可以实现以上?感谢所有帮助!
How may I achieve the above? Thanks for all assistance!
推荐答案
删除SSPIOfferBasic上,并确保你的IE选项,如下所述设置:
Remove 'SSPIOfferBasic on' and make sure your IE options are set as described here:
<一个href=\"http://stackoverflow.com/questions/2652108/single-sign-on-with-apache-on-windows-7-and-mod-auth-sspi\">Single签署与Apache在Windows 7和mod_auth_sspi
SSPIOfferBasic的意思是客户端,可以进行身份验证,使用基本身份验证,所以大多数的浏览器会选择了,而不是SSO / NTLM
SSPIOfferBasic means "clients, you can authenticate, using basic auth", so most browsers will chose that instead of SSO/NTLM
这篇关于阿帕奇 - 配置mod_auth_sspi.so的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!