Category Archives: Uncategorized

Dokuwiki with Ldap against Novell eDirectory

Cause i found only one good post with google and for personal dokumentation 🙂 ,  here is how to configure Dokuwiki using Ldap with a Novell eDirectory.

Here are the lines in /conf/local.php you have to add  to enable ldap and to access the eDirectory.

$conf['useacl']      = 1;
$conf['openregister']= 0;
$conf['authtype']    = 'ldap';

$conf['auth']['ldap']['server']      = 'ldap://ldap.domain.tld:389';
$conf['auth']['ldap']['usertree']    = 'ou=users, o=someFirm';
$conf['auth']['ldap']['grouptree']   = 'ou=groups, o=someFirm';
$conf['auth']['ldap']['userfilter']  = '(&(uid=%{user})(objectClass=person))';
$conf['auth']['ldap']['groupfilter'] = '(&(objectClass=groupOfNames)(member=%{dn}))';

Note that you have to replace the “o=” , “ou=” and “server” values and that you have ldap support enabled in your php!