这可用于连接到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" />如果我希望它连接到Windows2008 R2活动目录,此行中是否有方案更改?AD的主机名是winvm1,域是office.example.com
发布于 2012-05-25 13:06:44
对于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"这行得通吗?
https://stackoverflow.com/questions/10745889
复制相似问题