Skip to content

Commit

Permalink
Merge pull request ansible#3054 from chrismeyersfsu/fix-ldap_posix_gr…
Browse files Browse the repository at this point in the history
…oup_type

fix issue with ldap queries containing unicode
  • Loading branch information
chrismeyersfsu committed Oct 12, 2018
2 parents 71577bb + cfb58eb commit 503a47c
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 503a47c

Please sign in to comment.