diff options
author | Tomas Babej <tomasbabej@gmail.com> | 2013-10-21 14:12:23 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-10-21 15:45:27 +0200 |
commit | ced2170b9d7957256763f7b20133d5219d632111 (patch) | |
tree | 5be4d6f2712cc9239a2bcd2199dded909a19b6fc /ipalib/plugins | |
parent | f34b8896f97ee8b29da7f167c7262071000727e4 (diff) | |
download | freeipa.git-ced2170b9d7957256763f7b20133d5219d632111.tar.gz freeipa.git-ced2170b9d7957256763f7b20133d5219d632111.tar.xz freeipa.git-ced2170b9d7957256763f7b20133d5219d632111.zip |
Get the created range type in case of re-establishing trust
This is a regression fix introduced by commit id:
285ed59889590ddd0d6ca2e2a030b28527941cbf
Fixes internal error in case of re-establishing the trust.
Diffstat (limited to 'ipalib/plugins')
-rw-r--r-- | ipalib/plugins/trust.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py index f4e5d021..af7bf33a 100644 --- a/ipalib/plugins/trust.py +++ b/ipalib/plugins/trust.py @@ -342,6 +342,8 @@ sides. # provide a global mapping across all subdomains (created_range_type, _, _) = self.add_range(range_name, dom_sid, *keys, **options) + else: + created_range_type = old_range['result']['iparangetype'][0] trust_filter = "cn=%s" % result['value'] ldap = self.obj.backend |