diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-02-27 16:01:44 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-10-31 18:09:52 +0100 |
commit | 78f0ca983b7fa204f15f75d33678d029867c27d8 (patch) | |
tree | aa5e989749df6cc4274f823d3a6f030c54282369 /ipapython | |
parent | a7180ed021b2ed55949eb98f54e3f4593bc9cecf (diff) | |
download | freeipa-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.py | 2 |
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) |