Accounts created with roles by ldap_integration & ldap_groups do not get assigned to mandatory groups

jzornig - November 9, 2009 - 00:39
Project:Organic Groups - Multiple Mandatory Groups by Role
Version:6.x-1.3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I've set up ldap_integration and ldap_groups so that users authenticate against an ldap service and get assigned to various roles depending upon values in an ldap attribute. The first time a user logs in their account is created and the roles assigned correctly. However the og_multiple_mandatory_groups_by_role does not assign the user account to any groups associated to those roles. I have to manually edit and save the user account before any groups are assigned.

Is it possible to modify og_multiple_mandatory_groups_by_role so that it will perform group assignments at the time accounts are created by the ldap_integration module? Or alternately, does ldap_integration need to be changed to trigger the group assignment when it creates accounts?

 
 

Drupal is a registered trademark of Dries Buytaert.