Hi!,

I´m trying to limit LDAP Group Mapping within ldapgroups.conf.php, but then the group mappings sometimes work and sometimes don´t, i.e., sometimes a user stops belonging the a previuosly assigned role.

If I don´t limit this mappings, then the Group Mapping runs ok, but I get a lot of Drupal roles from MS AD that I really don´t want in my Drupal site.

Regards,
Carlos.

Comments

zottmann’s picture

P.S: I have uncommented the "ldapgroups_roles_filter($groups)" function.

zottmann’s picture

Hi!

Can anyone help me on this?

Thanks in advance,
Carlos.

eboyd16’s picture

I am having the same problem. The first time a ldap user logs in they don't get mapped but they are authenticated . However if they log in again they will get mapped. This just started to happen.

amariotti’s picture

Status: Active » Closed (duplicate)

http://drupal.org/node/171092#comment-855700

Make that change and you should be golden. There's also a change that I noted in my comment that needs to be changed. Something related to a $user variable (_user_save or something) Good luck!