Coldfusion LDAP 身份验证问题/域前缀
我目前正在设置一个开发环境,它是我们的生产环境的精确副本。问题是,当我尝试在开发环境中使用 CFLDAP 标签对用户进行身份验证时,它不会让我在不使用域名作为用户名前缀的情况下对用户进行身份验证,而在生产环境中,我们不必为用户名添加前缀与域名。请参阅下面的示例代码:
详细信息:
- Windows 2000 Web Server
- ColdFusion 5
对 Windows 2003 Active Directory 环境进行身份验证
<块引用>
I am currently setting up a dev environment which is an exact copy of our prod environment. The problem is when I try to authenticate a user by using CFLDAP tag in the dev environment, it won't let me authenticate the user without prefixing the username with the domain name while in the prod environment we don't have to prefix the username with the domain name. See example code below:
Details:
- Windows 2000 Web Server
- ColdFusion 5
Authenticating to a Windows 2003 Active Directory environment
Any help is greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现在使用 CFLDAP 时,使用 NT 样式登录作为用户名将不可避免地导致问题和不一致。对于给定的用户使用 DistinguishedName 属性 (DN) 确实会更好:
当然,您的 DN 可能会有所不同 - 但希望这能说明这一点。
I have found when using CFLDAP, that using NT style logins for the username will inevitably cause problems and inconsistencies. You are really much better off using the distinguishedName attribute (DN) for a given user:
Of course your DN will likely be different - but hopefully that illustrates the point.