2012-12-19 144 views
1

是否有人使用http://drupal.org/project/ldap成功验证AD全局编录?我有以下配置:Drupal 7 LDAP模块和AD全局编录

 
LDAP server: 
ldaps://service.mydomain.com 
LDAP port: 
3269 
Binding Method: 
Service Account Bind 
Base DNs for LDAP users: 
DC=service,DC=mydomain,DC=com 
DC=otherdomain,DC=mydomain,DC=com 
AuthName attribute: 
userPrincipalName 

模块成功验证的用户,这是所谓的“服务”父域的成员,但LDAP搜索无法找到“otherdomain”的任何用户,连接到AD域森林内的父域。我可以使用ldp.exe测试LDAP搜索并使用此工具,我可以从任何域中找到任何用户。

此外,还有在Drupal的看门狗以下错误消息:

ldap_search()函数错误。 LDAP错误:引用,ldap_search()参数:ldap_search()调用:base_dn:DC = otherdomain,DC = mydomain,DC = com,filter =([email protected]),attributes:,attrsonly = 0, sizelimit = 0,timelimit = 0,deref =,scope = 3

任何帮助将不胜感激。

回答

0

LDAP客户端应该遵循搜索结果中返回的引用 - 或者应该安装LDAP目录代理服务器以自动跟踪引用。

当LDAP目录服务器是不能或不愿执行搜索操作时,它可能会返回一个转诊表示另一个服务器可能能够执行所请求的操作。 LDAp客户有责任“追逐”引荐。引荐通过介绍字段的存在以及搜索结果代码被设置为来指示。

0

您必须在LDAP服务器字段中编写ldaps:// ldapserver:3269,并在LDAP端口字段中保留相同的端口号。