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
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

zottmann - June 4, 2008 - 13:19

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

#2

zottmann - June 15, 2008 - 00:42

Hi!

Can anyone help me on this?

Thanks in advance,
Carlos.

#3

eboyd16 - June 24, 2008 - 13:15

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

amariotti - August 15, 2008 - 21:28
Status:active» 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!

 
 

Drupal is a registered trademark of Dries Buytaert.