Thread:Extension talk:LDAP Authentication/$wgLDAPGroupsUseMemberOf - bug in LDAPAuthentication.php

I was trying to use $wgLDAPGroupsUseMemberOf to pull out "Wiki Sysop" for a user in an 2008 AD.

Found that in "function getGroups( $username)" in LDAPAuthentication.php the code only set the $groups["dn"] not the $groups["short"]. The verification for LDAP users in hasLDAPGroup and isLDAPGroup uses $this->userLDAPGroups["short"] and fails.

I Did an ugly workaround to make it work in the foor loop after