diff options
author | Tomas Babej <tbabej@redhat.com> | 2013-05-30 14:07:09 +0200 |
---|---|---|
committer | Alexander Bokovoy <abokovoy@redhat.com> | 2013-06-10 12:27:34 +0300 |
commit | 11c0f0517f521cd36e407f6038e6eefdaf3441b3 (patch) | |
tree | 1eb31f81afd5f905c75d77fe9dac2e5664526ef1 /ipaserver/install/plugins/adtrust.py | |
parent | ddb39570115b6b6cca71d66e9bf1a8463f599514 (diff) | |
download | freeipa-11c0f0517f521cd36e407f6038e6eefdaf3441b3.tar.gz freeipa-11c0f0517f521cd36e407f6038e6eefdaf3441b3.tar.xz freeipa-11c0f0517f521cd36e407f6038e6eefdaf3441b3.zip |
Add update plugin to fill in ipaRangeType attribute
Previously, we deduced the range type from the range objectclass
and filled in virtual attribute in post_callback phase.
Having a ipaRangeType attributeType in schema, we need to fill
the attribute values to ranges created in previous IPA versions.
The plugin follows the same approach, setting ipa-local or
ipa-ad-trust value to the ipaRangeType attribute according
to the objectclass of the range.
Part of https://fedorahosted.org/freeipa/ticket/3647
Diffstat (limited to 'ipaserver/install/plugins/adtrust.py')
-rw-r--r-- | ipaserver/install/plugins/adtrust.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipaserver/install/plugins/adtrust.py b/ipaserver/install/plugins/adtrust.py index 555a28b8f..28358588b 100644 --- a/ipaserver/install/plugins/adtrust.py +++ b/ipaserver/install/plugins/adtrust.py @@ -62,6 +62,7 @@ class update_default_range(PostUpdate): 'cn:%s' % id_range_name, 'ipabaseid:%s' % id_range_base_id, 'ipaidrangesize:%s' % id_range_size, + 'iparangetype:ipa-local', ] updates = {} |