在没有密码和用户名的情况下登录网站使用用户表单活动目录域 [英] login on site without password and user name use user form active directory domain

查看:23
本文介绍了在没有密码和用户名的情况下登录网站使用用户表单活动目录域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题.我在 apache2.2 上有一个站点.我需要为客户提供这个功能.当活动目录域中的用户打开站点时,该用户必须自动登录.

I have a question. I have a site on apache2.2. I need provide this feature for client. When user which in active directory domain open the site that user must be login automatically.

我真的不知道怎么做这些东西.请帮我.因此,如果域中的用户该用户必须自动登录,并且他的昵称必须与活动目录中的昵称相同.域

Really i don't know how to do this stuff. Please help me. So if user in domain that this user must be login automatically and his nickname must be same as nickname in active directory. domain

推荐答案

NTLM 身份验证实际上是可能的.您需要 AuthenNTLM-plugin,它将对用户进行身份验证使用 Internet Explorer.一个示例语法是

It actually is possible with NTLM authentication. You need the AuthenNTLM-plugin, which will authenticate a user using the Internet Explorer. An example syntax would be

<Location />
    PerlAuthenHandler Apache::AuthenNTLM 
    AuthType ntlm,basic
    AuthName test
    require valid-user

    #                    domain             pdc                bdc
    PerlAddVar ntdomain "name_domain1   name_of_pdc1"
    PerlAddVar ntdomain "other_domain   pdc_for_domain    bdc_for_domain"

    PerlSetVar defaultdomain wingr1
    PerlSetVar ntlmdebug 1
</Location>
## taken from the documentation

有关更多选项,请参阅模块文档以及有关设置的具体说明 - 以上内容应该可以帮助您朝着正确的方向开始.

Please refer to the module documentation for more options and specific instructions on the setup - the above should get you started in the right direction.

在客户端,Internet Explorer 和 Firefox 应该能够在一些配置后自动登录(Firefox 需要一些 特别注意 - 这可以通过在部署期间设置配置变量来实现.

On the client side, Internet Explorer and Firefox should be able to login automatically after some configuration (Firefox needing a bit of special care - which may be achieved by setting the configuration variables during deployment).

这篇关于在没有密码和用户名的情况下登录网站使用用户表单活动目录域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆