diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-02-27 14:14:33 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-03-06 15:05:27 +0100 |
commit | b194b850ca1e083c0a799ba0f9ed3881c141efec (patch) | |
tree | adbfc235d2a2a12a2da5b2c67fa27be3a45e4b15 /ipalib/plugins/host.py | |
parent | dc5fcc2969789f03992a23ebd336b4c6f0d7e025 (diff) | |
download | freeipa.git-b194b850ca1e083c0a799ba0f9ed3881c141efec.tar.gz freeipa.git-b194b850ca1e083c0a799ba0f9ed3881c141efec.tar.xz freeipa.git-b194b850ca1e083c0a799ba0f9ed3881c141efec.zip |
Fix remove while iterating in suppress_netgroup_memberof.
https://fedorahosted.org/freeipa/ticket/3464
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r-- | ipalib/plugins/host.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py index e798d23b..d92bc56c 100644 --- a/ipalib/plugins/host.py +++ b/ipalib/plugins/host.py @@ -364,7 +364,7 @@ class host(LDAPObject): """ ng_container = DN(api.env.container_netgroup, api.env.basedn) if 'memberofindirect' in entry_attrs: - for member in entry_attrs['memberofindirect']: + for member in list(entry_attrs['memberofindirect']): memberdn = DN(member) if memberdn.endswith(ng_container): try: |