Skip to content

Commit

Permalink
fix issue with ldap queries containing unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismeyersfsu committed Oct 10, 2018
1 parent 3aa07ba commit cfb58eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/sso/ldap_group_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def user_groups(self, ldap_user, group_search):
)

search = group_search.search_with_additional_term_string(filterstr)
search.attrlist = [self.name_attr]
search.attrlist = [str(self.name_attr)]
groups = search.execute(ldap_user.connection)
except (KeyError, IndexError):
pass
Expand Down

0 comments on commit cfb58eb

Please sign in to comment.