我遇到的问题是Drupal 7无法识别来自LDAP的密码。我确实已成功连接到LDAP。我可以将所有用户导入Drupal。
无法弄清楚密码无效的原因。如果我在导入的LDAP用户上手动设置密码,则该密码可以正常工作。
以下是日志中的内容:
TYPE ldap_authentication
DATE Wednesday, March 26, 2014 - 10:19
USER Anonymous (not verified)
LOCATION http://drupal_sc.int.server.org/drupal/node?destination=node
REFERRER http://drupal_sc.int.server.org/drupal/
MESSAGE gormans : Trying server J LDAP where bind_method = 1. Error: Success
SEVERITY debug
HOSTNAME 10.8.0.174
**************************************************
TYPE ldap_authentication
DATE Wednesday, March 26, 2014 - 10:19
USER Anonymous (not verified)
LOCATION http://drupal_sc.int.server.org/drupal/node?destination=node
REFERRER http://drupal_sc.int.server.org/drupal/
MESSAGE smith1 : Authentication result id=0 auth_result=3 (Sorry, unrecognized username or password.)
SEVERITY debug
HOSTNAME 10.8.0.174
OPERATIONS
*************************************************
TYPE ldap_authentication
DATE Wednesday, March 26, 2014 - 10:19
USER Anonymous (not verified)
LOCATION http://drupal_sc.int.server.org/drupal/node?destination=node
REFERRER http://drupal_sc.int.server.org/drupal/
MESSAGE gormans : Failed ldap authentication. User may have authenticated successfully by other means in a mixed authentication site. LDAP Authentication Error #: 3 error message: Sorry, unrecognized username or password.
SEVERITY debug
HOSTNAME 10.8.0.174
OPERATIONS
非常感谢你的帮助。
答案 0 :(得分:1)
我能够弄清楚这一点。即使模块说,"匿名绑定:不使用凭据绑定到LDAP服务器。此选项不适用于大多数LDAPS连接",我将其更改为匿名。
我最初做的是将自己的超级用户凭据输入绑定方法。