I have an OU that hold a Security Group that looks like this

Drupal Users (OU)
|
--> Groups (OU)
|
--> Drupal Students (SG)

I have attempted using various different methods, however the one I feel should be working is by placing "OU=Drupal Users,dc=one,dc=two" in the Base DN section of the settings for the LDAP server.

If I add the username I am using to test this itself to Groups, the username is allowed to log in, however, simply having the username be a member of the Drupal Students Security Group is not enough... am I missing something?

Comments

pumpkinkid’s picture

Just a clarification, the display above should show this hierarchy Drupal Users (OU) --> Groups (OU) --> Drupal Students (SG)

pumpkinkid’s picture

Also Please note that I have tried using "CN=Drupal Students,OU=Groups,OU=Drupal Users,dc=one,dc=two"

cgmonroe’s picture

Clearing out old support requests - reopen if problem still exists in newest code

That said: LDAP Authentication requires finding the user object in LDAP, not a Group object. The basedn is simply the place to look for these user objects in the LDAP structure. Groups do not come into play unless you are using the ldapgroups module. That is where you can limit access to sites via LDAP groups.

cgmonroe’s picture

Status: Active » Closed (fixed)