Not logged in. · Lost password · Register

All posts by fabionlima (1)

topic: How to authenticate 2 groups of users LDAP in dowukiwi?  in the forum: General Help and Support Installation and Configuration
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
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-07-23, 14:16:18 (UTC +02:00)