diff options
author | Martin Basti <mbasti@redhat.com> | 2017-01-25 14:56:07 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2017-02-08 08:32:44 +0100 |
commit | a93b2bea5ce88a934ba2ab39bdaa518fb55064c4 (patch) | |
tree | 026cd807917129650595ba2edcb434b3aecf0d46 /ipaserver/plugins | |
parent | caa560ca79e4038b161b27d11e3f144606dbbcdb (diff) | |
download | freeipa-a93b2bea5ce88a934ba2ab39bdaa518fb55064c4.tar.gz freeipa-a93b2bea5ce88a934ba2ab39bdaa518fb55064c4.tar.xz freeipa-a93b2bea5ce88a934ba2ab39bdaa518fb55064c4.zip |
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>
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r-- | ipaserver/plugins/ldap2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index 71c095d05..e671ecba7 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -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: |