Group restrictions do not work

chrisbert91 - November 7, 2009 - 00:33
Project:LDAP integration
Version:6.x-1.0-beta2
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I installed the LDAP Integration modules today and successfully set up Drupal to allow authentication through LDAP. That worked beautifully. However, I want to be able to limit who can log in to the site based on the user's Group. When I try to limit automatic account creation by group, no one is able to get in, even users who are in that group. I know that Drupal is able to see my groups because it creates roles with the group names if I remove the restriction.

I'm not sure if this is a bug or something I'm doing wrong, but I figured I'd report and see what you guys think.

#1

christian_M - November 13, 2009 - 15:33

I have the same kind of problem. I want to limit automatic account creation to only certain LDAP groups. That said, if a user already has an account, she should not be denied access by this setting. Yet, what happens is that the user is denied access but the account is created nonetheless. I tried to have a look at the code to see if I could come up with a simple fix but I have not had any success so far.

Either this is a bug or the form field labelling is misleading: currently this doesn't limit account creation but user access.

Any help appreciated.

 
 

Drupal is a registered trademark of Dries Buytaert.