【发布时间】:2014-07-28 01:00:50
【问题描述】:
我在我的系统管理员课程项目中使用 WordPress 3.9.1 和 OpenLDAP 2.4.31,运行 IP 为 192.168.1.10 的 Ubuntu 服务器 14.04 LTS vbox 机器。我几乎尝试了所有 WordPress LDAP 插件,只有 LDAP LPRM 可以工作,但我不喜欢它的映射角色功能,所以我宁愿使用 Active Directory 集成插件,但是当我测试我的配置时,我得到:
AD Integration Logon Test
openLDAP installed
[INFO] method authenticate() called
[INFO] ------------------------------------------
PHP version: 5.5.9-1ubuntu4
WP version: 3.9.1
ADI version: 1.1.4
OS Info : Linux ubuntuserver 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014 i686
Web Server : apache2handler
adLDAP ver.: 3.3.2 Extended (201104081456)
------------------------------------------
[NOTICE] username: mrossi
[NOTICE] password: **not shown**
[INFO] Options for adLDAP connection:
- account_suffix:
- base_dn: dc=asgobbin,dc=it
- domain_controllers: 192.168.1.10
- ad_port: 389
- use_tls: 0
- network timeout: 5
[NOTICE] adLDAP object created.
[INFO] max_login_attempts: 300
[INFO] users failed logins: 0
[NOTICE] trying account suffix ""
[ERROR] Authentication failed
[WARN] storing failed login for user "mrossi"
Logon failed
【问题讨论】:
标签: wordpress plugins active-directory openldap