【发布时间】:2012-09-15 08:04:07
【问题描述】:
我正在尝试更改我的 LDAP 连接以通过 SSL 工作。但是,SSL 连接是经过身份验证的,这意味着它通常需要用户名和密码,而标准连接不需要:
<add name="ADConnectionString" connectionString="LDAP://myExampleLDAPServer.com:389/CN=Users,DC=example,DC=com" />
改为
<add name="ADConnectionString" connectionString="LDAP:///myExampleLDAPServer.com:636/CN=Users,DC=example,DC=com" />
但它需要用户名和密码,我宁愿根本不将其存储在 web.config 中。我使用integrated security=True 设置了与SQLServer 的连接,它使用应用程序池的身份对SQLServer 进行身份验证。是否可以将我的 LDAP 连接配置为也使用集成安全性?
【问题讨论】:
标签: authentication iis-7 ldap