[racktables-users] Re: Bug & solution regarding LDAP groups & autotags

  • From: Denis Ovsienko <infrastation@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Wed, 02 Jun 2010 12:34:17 +0400

 
 
17.05.2010, 15:34, "Joep Ingen, van" <j.vaningen@xxxxxxxxxx>:
> Hi list,
>
> For a few days I've been trying to get the auto tags working for LDAP groups 
> with our LDAP (eDirectory).
> To get this function working I had to make a few modifications:
>
> * eDirectory does not map by default the group memberships to the LDAP 
> attribute 'memberof'. Make therefore an attribute mapping in the object 
> holding the 'LDAP Group' class; map 'Group Membership' (NDS) to 'memberof' 
> (LDAP)
>
> * Modify the file ./inc/auth.php at line 366, changed how to check for the 
> group's 'CN'. At our site, the part 'cn=' in the grouplist is in lowercase 
> and RackTables only looks for uppercase. I've made a small modification to 
> bypass this. See the patch file attached. The change is made in RackTables 
> 0.17.10.
>
> I do not know if this counts as a bug, but I thought it was worth mentioning.

Thank you, this fix will be seen in 0.17.11 maintenance release.
 
--
Denis Ovsienko
 

Other related posts: