Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
How to authenticate 2 groups of users LDAP in dowukiwi?
Avatar
fabionlima #1
Member since Apr 2018 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: How to authenticate 2 groups of users LDAP in dowukiwi?
Hello there,

I'm noob, sorry please
I've succesful in authenticate one groups of users LDAP in dokuwiki, but I'm need 2 groups,
because each groups will have different privileges.
Example:
Groups teachers: teacher1, teacher2, ....
Groups students: student1, student2,....

dokuwiki conf:
$conf['authtype'] = 'authldap';
$conf['passcrypt'] = 'ssha';
$conf['plugin']['authldap']['server'] = 'ldap://ldap.example.com:389';
$conf['plugin']['authldap']['usertree'] = 'ou=Groups, ou=Students, dc=example,dc=com';
$conf['plugin']['authldap']['grouptree'] = 'ou=Groups,ou=Students,dc=example,dc=com';
$conf['plugin']['authldap']['userfilter'] = '(&(uid=%{user})(objectClass=person))';
$conf['plugin']['authldap']['groupfilter'] = '(&(objectClass=groupOfNames)(member=%{dn}))';

How to work it?
Sorry my english
Avatar
myr@htw #2
Member for 3 months · 4 posts · Location: Saarbrücken
Group memberships: Members
Show profile · Link to this post
Hello,

you define the privileges for the groups at the Admin page,
topic ACLs.

Here you add the goups with the desired privileges.
Please note the correct order:
At first @ALL --> None   (if appropriate)
then the groupe with the highest privileges
then the group with less privileges

Hope that helps!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
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, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-01-17, 20:32:23 (UTC +01:00)