
|
[dokuwiki]
||
[Date Prev]
[09-2005 Date Index]
[Date Next]
||
[Thread Prev]
[09-2005 Thread Index]
[Thread Next]
[dokuwiki] ldap auth groups
- From: Hamish <lists@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 5 Sep 2005 10:20:48 +0100
Hello
I am using the ldap tree from kolab (www.kolab.org) to authenticate dokuwiki
users, but I am having trouble with groups. We have a group called "it" (it
is a distribution list in kolab) with this ldif:
dn: cn=it,dc=mydomain,dc=com
objectClass: kolabGroupOfNames
cn: it
mail: it@xxxxxxxxxxxx
member: cn=Some Guy,dc=mydomain,dc=com
member: cn=Other Guy,dc=mydomain,dc=com
Here is the ldap section from local.php:
$conf['auth']['ldap']['server'] = 'myserver';
$conf['auth']['ldap']['usertree'] = 'dc=mydomain, dc=com';
$conf['auth']['ldap']['grouptree'] = 'dc=mydomain, dc=com';
$conf['auth']['ldap']['userfilter'] = '(&(uid=%{user}))';
#$conf['auth']['ldap']['groupfilter'] = '(&(objectClass=kolabGroupOfNames)(|
(cn=%{gid})(member=%{user})))';
$conf['auth']['ldap']['mapping'] = array();
User authentication works fine, but I am having trouble with groups. I have:
$conf['superuser'] = '@it'; to try and get all members to be able to use
the admin functions, but not having any luck.
Anyone got any ideas?
Thanks,
Hamish
|

|