Greetings,

I am using LDAP: integration set of modules. ldapauth is easy to set up and it works just fine.

However, when I tried to use ldapgroups, no mapping "LDAP groups -> Drrupal roles" happens.

Details:

Drupal version: 5.1

I use OpenLDAP-based LDAP authentification. I choose

Groups exist as LDAP entries where a multivalued attribute contains the members' CNs
option from "Administer » Site configuration » LDAP Groups" and add this:

ou=Groups,dc=ourcompany,dc=com

to the below nodes list. Attribute holding group members is set to 'memberUid'.

I save configuration - and see no difference. No records in logs, no error messages, no new roles in roles list etc etc. Anonymous access to all groups nodes is enabled in LDAP server configuration.

Can someone enlighten me what that can be a problem and how can one debug/analyze this situation?

Thanks.

Comments

bushwakko’s picture

I have the exact same problem, and I think, the exact same setup. I have my users as InetOrgPerson with uid (i'm thinking i might need to have posixAccount, but I can't get it to work)...

ucciodeuccis’s picture

I have the same problem... can someone help us? :)

electrawn’s picture

Try commenting out function ldapgroups_roles_filter($groups) in ldapgroups.conf.php

Seems that it should have been commented out by default from the Note: above the function, but isin't by default. Commenting it out worked for me.