diff --git a/awx/sso/ldap_group_types.py b/awx/sso/ldap_group_types.py index 84144e0af3..b155ab99c8 100644 --- a/awx/sso/ldap_group_types.py +++ b/awx/sso/ldap_group_types.py @@ -42,6 +42,7 @@ class PosixUIDGroupType(LDAPGroupType): ) search = group_search.search_with_additional_term_string(filterstr) + search.attrlist = [self.name_attr] groups = search.execute(ldap_user.connection) except (KeyError, IndexError): pass @@ -72,4 +73,3 @@ class PosixUIDGroupType(LDAPGroupType): is_member = False return is_member -