mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
fix issue with ldap queries containing unicode
This commit is contained in:
parent
3aa07baf26
commit
cfb58eb145
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user