LDAP Group mapping not ok when using "ldap_group_role_mappings" in ldapgroups.conf.php
zottmann - June 4, 2008 - 13:17
| Project: | LDAP integration |
| Version: | 5.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
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.

#1
P.S: I have uncommented the "ldapgroups_roles_filter($groups)" function.
#2
Hi!
Can anyone help me on this?
Thanks in advance,
Carlos.
#3
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.
#4
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!