Hello Dokuwiki Community,
i just set up a stable Elenor of Tsort dokuwiki on an OpenSuse Leap 42.1 with up to date apache and php5, which works fine.
Afterwards I tried to activate authad acording to this manual (
https://www.dokuwiki.org/plugin:authad)
// auth ueber ad
$conf['useacl'] = 1;
$conf['authtype'] = 'authad';
// ad data
$conf['plugin']['authad']['account_suffix'] = '@***.****.de';
$conf['plugin']['authad']['base_dn'] = 'DC=***,DC=****,DC=de';
$conf['plugin']['authad']['domain_controllers'] = '****.****.de'; //multiple can be given
$conf['plugin']['authad']['admin_username'] = 'wiki';
$conf['plugin']['authad']['admin_password'] = '*******';
This results in me getting the following error in the frontend.
User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin.
The most common cause seems to be a missing php-ldap libary, but it is installed and via a code (
http://www.mcseboard.de/topic/177427-ad-mit-ldap-auslesen/) snipped with the same ad user i could verify that php-ldap is working.
Furthermore i found
$conf['plugin']['authad']['debug'] = 1;
but I do not know where it debugs to.
In the ?do=check option everything besides this error seems fine, and in ?do=debug the only thing i find concerning is
[plugin] => Array
(
[authad] => ***
[translation] => Array
(this time the *** are not masking by me)
As soon as i deactivate authad everything is working fine again.
What am i doing wrong?
Best regards
oant