summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-02-27 16:01:44 +0100
committerMartin Kosek <mkosek@redhat.com>2013-10-31 18:09:52 +0100
commit78f0ca983b7fa204f15f75d33678d029867c27d8 (patch)
treeaa5e989749df6cc4274f823d3a6f030c54282369 /ipapython
parenta7180ed021b2ed55949eb98f54e3f4593bc9cecf (diff)
downloadfreeipa-78f0ca983b7fa204f15f75d33678d029867c27d8.tar.gz
freeipa-78f0ca983b7fa204f15f75d33678d029867c27d8.tar.xz
freeipa-78f0ca983b7fa204f15f75d33678d029867c27d8.zip
Store encoded attribute values from search results directly in entry objects.
https://fedorahosted.org/freeipa/ticket/3521
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/ipaldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py
index 6d4079651..218643fd3 100644
--- a/ipapython/ipaldap.py
+++ b/ipapython/ipaldap.py
@@ -443,7 +443,7 @@ class IPASimpleLDAPObject(object):
ipa_entry = LDAPEntry(self, DN(original_dn))
for attr, original_values in original_attrs.items():
- ipa_entry[attr] = self.decode(original_values, attr)
+ ipa_entry.raw[attr] = original_values
ipa_result.append(ipa_entry)