From ef1cd6e24732e7fa64f6c4b0ce32a909fbf1df5d Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 16 Jan 2013 14:14:58 +0100 Subject: Add custom mapping object for LDAP entry data. --- ipalib/plugins/trust.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/trust.py') diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py index acb73aa3..78a6d98f 100644 --- a/ipalib/plugins/trust.py +++ b/ipalib/plugins/trust.py @@ -311,7 +311,7 @@ sides. base_dn = DN(api.env.container_trusts, api.env.basedn), filter = trust_filter) - result['result'] = trusts[0][1] + result['result'] = dict(trusts[0][1]) result['result']['trusttype'] = [trust_type_string(result['result']['ipanttrusttype'][0])] result['result']['trustdirection'] = [trust_direction_string(result['result']['ipanttrustdirection'][0])] result['result']['truststatus'] = [trust_status_string(result['verified'])] -- cgit