我正在尝试在本地计算机中使用 LDAP 设置 Dokuwiki。
Dokuwiki 版本是 2014-05-05 “思考 Stibbons”
身份验证设置
authtype: authldap
插件 Authldap(捆绑插件)设置
plugin»authldap»server: localhost
plugin»authldap»port: 10389
plugin»authldap»usertree: ou=People,o=sevenSeas
plugin»authldap»grouptree: ou=Groups,o=sevenSeas
plugin»authldap»userfilter:
plugin»authldap»groupfilter:
plugin»authldap»version: 3
plugin»authldap»binddn: uid=admin,ou=system
plugin»authldap»bindpw: secret
Local.php 内容
<?php
/*
* Dokuwiki's Main Configuration File - Local Settings
* Auto-generated by config plugin
* Run for user:
* Date: Fri, 20 Jun 2014 10:04:50 +0200
*/
$conf['title'] = 'Sample Wiki';
$conf['license'] = 'cc-by-sa';
$conf['useacl'] = 1;
$conf['authtype'] = 'authldap';
$conf['superuser'] = '@admin,jhallett';
$conf['disableactions'] = 'register,resendpwd,profile';
$conf['proxy']['user'] = 'admin';
$conf['proxy']['pass'] = '<b>OU9sLi8nXVw=';
$conf['plugin']['authldap']['server'] = 'localhost';
$conf['plugin']['authldap']['port'] = 10389;
$conf['plugin']['authldap']['usertree'] = 'ou=People,o=sevenSeas';
$conf['plugin']['authldap']['grouptree'] = 'ou=Groups,o=sevenSeas';
$conf['plugin']['authldap']['version'] = 3;
$conf['plugin']['authldap']['binddn'] = 'uid=admin,ou=system';
$conf['plugin']['authldap']['bindpw'] = 'secret';
$conf['openregister'] = '0';
// end auto-generated content
LDAP 使用在 Java 1.7.0_51 上运行的 Apache DS 2.0.0 和 Apache Directory Studio 2.0.0。
两者都安装成功。我遵循了入门指南中的默认安装,并添加了示例配置和示例 LDIF。
我根据入门指南使用默认配置:
Default Port: 10389
Default Bind DN: uid=admin,ou=system
Default Bind Password: secret
当我保存 dokuwiki 配置时,出现以下错误:
User authentication is temporarily unavailable.
If this situation persists, please inform your Wiki Admin.
我应该怎么做才能解决这个问题?