I've had this problem both in a previous version of HEAD and the current 5.x-1.2 release.

We specify two ldap attributes that hold names in the box labeled: Groups are specified by LDAP attributes - Attribute names (one per line):.

When a new user logs in for the first time their account is populated with the first attribute specified, but the second isn't populated until they login again. I'm guessing that if we had more attributes it would only add one per login, but can't verify that in our current system.

Is there someway to force ldap_groups to loop through the given ldap attributes on login?

Thanks for the great module.

-Elliot

Comments

kreaper’s picture

Assigned: Unassigned » kreaper
Status: Active » Postponed (maintainer needs more info)

Elliot

Can you be more specific ? I am not sure if I understand the question correctly.

When a new user logs in for the first time their account is populated with the first attribute specified, but the second isn't populated until they login again. I'm guessing that if we had more attributes it would only add one per login, but can't verify that in our current system.

ldapgroups performs groups->roles conversion. Is this what you desire ?
If you specify multiple attributes in the configuration page, the module will query the groups based on each attribute and build a list of resulting groups to convert to roles.

if you clarify the question (may be with an example, it will be clearer)

kreaper

johnbarclay’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Closing 5.x issues to clean out issue queue.