Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
LDAP auth with OpenLDAP and multiple ou=
Avatar
virtualchris #1
Member since Jun 2009 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: LDAP auth with OpenLDAP and multiple ou=
Hello,

I'm trying to setup LDAP auth with dokuwiki and OpenLDAP.
Our tree is containing multiple ou= groups

I'd like to know how to configure local.php to search users in all groups (ou=) and not only in one ou= ?

Here is my actual local.php working only on one group


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


$conf['auth']['ldap']['server']      = 'ldap.domain.com:389';
$conf['auth']['ldap']['usertree']    = 'uid=%{user},ou=test,o=masociete';


# Optional debugging
$conf['auth']['ldap']['debug']      = 1;

Thanks for your help
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-21, 06:10:06 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate