【问题标题】:LDAP:// OpenDirectory to ActiveDirectory query changesLDAP:// Open Directory 到 Active Directory 查询更改
【发布时间】:2012-05-24 21:58:16
【问题描述】:

这可以连接到 OpenDirectory LDAP

<add name="LDAP" 
     type="LBOX.Membership.LDAPMembershipProvider" 
     LDAPRoot="LDAP://10.0.1.6:389/cn=users,dc=fileserver,dc=office,dc=example,dc=com" />

如果我希望它连接到 Windows 2008 R2 Active Directory,是否有方案更改? AD 的主机名是 winvm1,域是 office.example.com

【问题讨论】:

  • 您将能够“连接”。但我相信你也想绑定和搜索?您的 OpenDirectory LDAP 中的架构是什么?您的用户实例是 iNetOrgPerson 对象类还是其他对象类?

标签: active-directory ldap openldap


【解决方案1】:

对于 Active Directory,我会尝试:

LDAPRoot="LDAP://winvm1/cn=users,dc=office,dc=lbox,dc=com"

我删除了 IP 和端口,并将其替换为 winvm1 服务器名称,加上您的 LDAP 字符串中的 dc=fileserver - 当您的域为 office.example.com 时,您真的需要吗?

或者,您可以使用 Active Directory 的“无服务器”绑定 - 试试这个路径:

LDAPRoot="LDAP://cn=users,dc=office,dc=lbox,dc=com"

这行得通吗?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-09-29
    • 2015-09-11
    • 1970-01-01
    • 2014-07-06
    • 2012-06-26
    • 1970-01-01
    • 2013-01-26
    相关资源
    最近更新 更多