带有LDAP错误的Dokuwiki:用户身份验证暂时不可用 [英] Dokuwiki with LDAP error: User authentication is temporarily unavailable

查看:514
本文介绍了带有LDAP错误的Dokuwiki:用户身份验证暂时不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在本地计算机上使用LDAP设置Dokuwiki.

I'm trying to setup Dokuwiki with LDAP in my local computer.

Dokuwiki版本是2014年5月5日的"Ponder Stibbons"

The Dokuwiki version is 2014-05-05 "Ponder 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.


LDAP is using Apache DS 2.0.0 and Apache Directory Studio 2.0.0 running on Java 1.7.0_51.

两者均已成功安装.我已经从入门指南中进行了默认安装,并添加了示例配置

Both installed successfully. I have followed the default installation from Getting Started Guide and added sample configuration and sample LDIF.

我正在使用《入门指南》中的默认配置:

I'm using the default configuration according to the Getting Started Guide:

Default Port: 10389
Default Bind DN: uid=admin,ou=system
Default Bind Password: secret


保存dokuwiki配置时,出现以下错误:


When I save the dokuwiki configuration, I got the following error:

User authentication is temporarily unavailable. 
If this situation persists, please inform your Wiki Admin.

我该怎么做才能解决此问题?

What should I do to fix this problem?

推荐答案

您的PHP没有安装或启用LDAP扩展.它是AD身份验证所必需的.您的发行版可能有单独的软件包.例如. php5-ldap之类的.

Your PHP does not have the LDAP extension installed or enabled. It's needed for AD authentication. Your distribution probably has a separate package for it. Eg. php5-ldap or something.

这篇关于带有LDAP错误的Dokuwiki:用户身份验证暂时不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆