Subject: Active Directory authentication error [SOLVED]
I've got dokuwiki installed. I'm now trying to enable active directory authentication.
Dokuwiki (latest) is install on Arch Linux, using Apache and PHP.
I've enabled ldap authentication in php.ini and change local.conf to use active directory.
When I go to my wiki, I get the following error:
I posted on the Arch forum to see if they have any ideas but nothing so far.
Here is my local.conf
Dokuwiki (latest) is install on Arch Linux, using Apache and PHP.
I've enabled ldap authentication in php.ini and change local.conf to use active directory.
When I go to my wiki, I get the following error:
LDAP err: PHP LDAP extension not found. [ldap.class.php:25]
User authentication is temporarily unavailable. If this situation persists, please inform your Wiki Admin.
I posted on the Arch forum to see if they have any ideas but nothing so far.
Here is my local.conf
<?php
/*
* Dokuwiki's Main Configuration File - Local Settings
* Auto-generated by config plugin
* Run for user: Poekies
* Date: Fri, 11 Apr 2008 11:25:06 +1200
*/
$conf['title'] = 'My company';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
$conf['userewrite'] = '2';
$conf['compress'] = 0;
@include(DOKU_CONF.'local.protected.php');
// end auto-generated content
$conf['useacl'] = 1;
$conf['openregister']= 0;
$conf['authtype'] = 'ldap';
$conf['auth']['ldap']['server'] = 'domain.com';
$conf['auth']['ldap']['binddn'] = '%{user}@%{server}';
$conf['auth']['ldap']['usertree'] = 'dc=domain,dc=com';
$conf['auth']['ldap']['userfilter'] = '(userPrincipalName=%{user}@%{server})';
$conf['auth']['ldap']['mapping']['name'] = 'displayname';
$conf['auth']['ldap']['mapping']['grps'] = array('memberof' => '/CN=(.+?),/i');
$conf['auth']['ldap']['grouptree'] = 'dc=domain,dc=com'; # position for find groups, at root here
$conf['auth']['ldap']['groupfilter'] = '(&(cn=*)(Member=%{dn})(objectClass=group))'; # find groups for current user(dn)
$conf['auth']['ldap']['referrals'] = 0; # Switch referrals off for use with Active Directory
$conf['auth']['ldap']['version'] = 3;
$conf['superuser'] = '@WIKI_ADMINS'; #name group AD for dokuwiki administration
$conf['auth']['ldap']['debug'] = true; #set true for watch authenticate activity (eg. list of user groups) on html page
/*
* Dokuwiki's Main Configuration File - Local Settings
* Auto-generated by config plugin
* Run for user: Poekies
* Date: Fri, 11 Apr 2008 11:25:06 +1200
*/
$conf['title'] = 'My company';
$conf['useacl'] = 1;
$conf['superuser'] = '@admin';
$conf['disableactions'] = 'register';
$conf['userewrite'] = '2';
$conf['compress'] = 0;
@include(DOKU_CONF.'local.protected.php');
// end auto-generated content
$conf['useacl'] = 1;
$conf['openregister']= 0;
$conf['authtype'] = 'ldap';
$conf['auth']['ldap']['server'] = 'domain.com';
$conf['auth']['ldap']['binddn'] = '%{user}@%{server}';
$conf['auth']['ldap']['usertree'] = 'dc=domain,dc=com';
$conf['auth']['ldap']['userfilter'] = '(userPrincipalName=%{user}@%{server})';
$conf['auth']['ldap']['mapping']['name'] = 'displayname';
$conf['auth']['ldap']['mapping']['grps'] = array('memberof' => '/CN=(.+?),/i');
$conf['auth']['ldap']['grouptree'] = 'dc=domain,dc=com'; # position for find groups, at root here
$conf['auth']['ldap']['groupfilter'] = '(&(cn=*)(Member=%{dn})(objectClass=group))'; # find groups for current user(dn)
$conf['auth']['ldap']['referrals'] = 0; # Switch referrals off for use with Active Directory
$conf['auth']['ldap']['version'] = 3;
$conf['superuser'] = '@WIKI_ADMINS'; #name group AD for dokuwiki administration
$conf['auth']['ldap']['debug'] = true; #set true for watch authenticate activity (eg. list of user groups) on html page
Poekies
Show profile
Link to this post