mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
py3: remove_entry_from_group: attribute name must be string
Do not encode attribute names https://fedorahosted.org/freeipa/ticket/4985 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
parent
caa560ca79
commit
a93b2bea5c
@ -442,7 +442,7 @@ class ldap2(CrudBackend, LDAPClient):
|
||||
# update group entry
|
||||
try:
|
||||
with self.error_handler():
|
||||
modlist = [(a, self.encode(b), self.encode(c))
|
||||
modlist = [(a, b, self.encode(c))
|
||||
for a, b, c in modlist]
|
||||
self.conn.modify_s(str(group_dn), modlist)
|
||||
except errors.MidairCollision:
|
||||
|
Loading…
Reference in New Issue
Block a user