summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/rabase.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-05-16 13:18:36 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-05-26 12:39:33 +0200
commit988b2cebf4bf6657eb50f5ecc57bd39425739b8b (patch)
tree21b2a6dba2b0baeefffa78466b8088109fd32a24 /ipaserver/plugins/rabase.py
parent193ced0bd7a9a26e7b25f08b023ee21302acaac7 (diff)
downloadfreeipa-988b2cebf4bf6657eb50f5ecc57bd39425739b8b.tar.gz
freeipa-988b2cebf4bf6657eb50f5ecc57bd39425739b8b.tar.xz
freeipa-988b2cebf4bf6657eb50f5ecc57bd39425739b8b.zip
ldap2.find_entries: Do not modify attrs_list in-place
dap2.find_entries modified the passed in attrs_list to remove the virtual attributes memberindirect and memberofindirect before passing the list to LDAP. This means that a call like ldap2.get_entry(dn, attrs_list=some_framework_object.default_attributes) would permanently remove the virtual attributes from some_framework_object's definition. Create a copy of the list instead. https://fedorahosted.org/freeipa/ticket/4349 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/plugins/rabase.py')
0 files changed, 0 insertions, 0 deletions