Hello,

I am trying to get groups to work with DekiWiki 1.8.3 and openLDAP but I am failing for now.

Here's what I did:

bindingdn: CN=$1,ou=People,o=domain.com
userquery: CN=$1
hostname: myserver.domain.com
searchbase: ou=People,o=domain.com

With this, I can log in using my account in LDAP as well as everybody in the ldap. Then I tried to add groups variable as follow:

groupquery: &(objectCategory=groupOfUniqueNames)(CN=$1))
groupqueryall: (objectClass=groupOfUniqueNames)
searchbase: ou=groups,o=domain.com

With this I can't even access http://hostname/@api/deki/services/11/groups
I changed searchbase to: ou=groups,o=domain.com. And than I can see the list of groups:
<groups>
<group name="241100">
<ldap-dn>cn=241100,ou=groups,o=domain.com</ldap-dn>
<date.created>0001-01-01T05:00:00Z</date.created>
</group>
</groups>
but this doesn't work: http://hostname/@api/deki/services/11/groups/241100. And when I changed searchbase to ou=groups then I cannot log in anymore on the wiki using my ldap account.

I am searching for the right parameters, can anybody help me?

Thank You,

Mona