Hello,
I want to map Users in an cn to Drupal Groups, for example:
cn=Admins,ou=HQ,ou=SalesGroups,ou=Groups,o=Resources|Managers
cn=Users,ou=EXT,o=Resources|Authors
Config:
1)Group by DN: cn
2)Group by Attributes: memberOf
3)Sort by Entry: none
4)LDAP Group to Drupal role limits: none
5)LDAP Group to Drupal role filtering:
Mapping of LDAP groups to Drupal roles:
cn=Admins,ou=HQ,ou=SalesGroups,ou=Groups,o=Resources|Managers
cn=Users,ou=EXT,o=Resources|Authors
Use LDAP group to Drupal roles filtering: checked
PHP to filter roles by: none
LDAP Authentication is working fine. The users are able to login, but
1. Drupal is not creating any role.
2. When I created Managers & Authors role manually and assign permission to them, the login users (after deleting and relogin), still the role permissions not being applied. Am I missing anything? Please help.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | LDAP_Ref.jpg | 175.52 KB | lsaslam2 |
Comments
Comment #1
fxarte commentedsubscribing.
Comment #2
lyricnz commentedDoes the group membership show up when you query a *user* (ie: memberOf etc) That is what will be used to create roles etc - not a separate query to list the members of a group.
Suggest you include the full results (ldapsearch) for a user-query.
Comment #3
staticred commentedsubscribing
Comment #4
Anonymous (not verified) commentedsubscribing.
I have the same problem, except that I don't have Group by DN checked. When I do a user query, the groups I belong to do show up as memberOf attributes.
Comment #5
johnbarclay commentedtry it without the mapping and filtering. this will create lots of groups, but will show what the left side of the mapping/filter should be.
cn=Admins,ou=HQ,ou=SalesGroups,ou=Groups,o=Resources|Managers
cn=Users,ou=EXT,o=Resources|Authors
Comment #6
lsaslam2 commentedI'm Having the following details
ou=Group,dc=ujjivan,dc=com
but CN i dont have..can any one help me to configure the ldap with my drupal.
these are the LDAP settings that i got from client
BaseDN : dc=ujjivan,dc=com
GroupDN : ou=Group,dc=ujjivan,dc=com
UsersDN : ou=People,dc=ujjivan,dc=com
need your help on one issue over the LDAP integration module configuration in one of our client, the problem is they client is creating the users via the LDAP and they were able to access the intranet before, since last two days, no one can be access the site and also if the problem resolved, the user created via LDAP is not assigning to any one of the drupal role by default.here I,m Attaching the screen shot be explaining the same thing, So you could be catch the issue easily.
Comment #7
cgmonroe commentedThe latest -dev version has much better admin screen documentation and there is a Test Group Setting screen that lets you enter a user and see what values are getting returned.
For details see: #1475272: 6.x-1.0 Release Candidate 1 Status
I'm marking this as "fixed" but is you can't get it working using the new tools, re-open with details.