mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 11:40:05 -03:30
fix issue with ldap queries containing unicode
This commit is contained in:
@@ -42,7 +42,7 @@ class PosixUIDGroupType(LDAPGroupType):
|
||||
)
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user