Thread:Extension talk:LDAP Authentication/Pulling from non-default group?

Currently when LDAP queries AD it only returns the default group that the user is set to. Any way we can get it to search for one of the many groups a user is part of that isn't the default? Here's the currently used code:

$wgLDAPGroupUseFullDN = array( 'TESTAD'=>true ); $wgLDAPBaseDNs = array( 'TESTAD' => 'DC=TESTDC, DC=com' ); $wgLDAPSearchAttributes = array( 'TESTAD' => 'sAMAccountName' ); $wgLDAPGroupObjectclass = array( 'TESTAD' = 'group' ); $wgLDAPGroupAttribute = array( 'TESTAD' => 'members' ); $wgLDAPGroupNameAttribute = array( 'TESTAD' => 'cn' ); $wgLDAPRequiredGroups = array( 'TESTAD' => array( 'cn=IT, cn=Users, DC=TESTDC, DC=com' ));

Only when LDAP queries it here, I get the group "Domain Users" returned, not IT. When I set the user's primary to IT on AD it returns IT if that makes sense?