diff options
author | Martin Kosek <mkosek@redhat.com> | 2011-12-01 09:23:07 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-11-30 23:41:48 -0500 |
commit | f66fa48bb7c93ee599cf335e96c43d5e328f331d (patch) | |
tree | 4b08dda7973809a1523ea02903e38213cc4ae485 /ipalib/plugins | |
parent | 167813f34350466be569be26f4faa8b9a05e5920 (diff) | |
download | freeipa-f66fa48bb7c93ee599cf335e96c43d5e328f331d.tar.gz freeipa-f66fa48bb7c93ee599cf335e96c43d5e328f331d.tar.xz freeipa-f66fa48bb7c93ee599cf335e96c43d5e328f331d.zip |
Fix config migration option
Make sure that --enable-migration in config plugin works correctly
and user can use to both enable and disable migration.
https://fedorahosted.org/freeipa/ticket/2150
Diffstat (limited to 'ipalib/plugins')
-rw-r--r-- | ipalib/plugins/config.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ipalib/plugins/config.py b/ipalib/plugins/config.py index ee4505f49..20c4eda72 100644 --- a/ipalib/plugins/config.py +++ b/ipalib/plugins/config.py @@ -184,11 +184,6 @@ class config_mod(LDAPUpdate): __doc__ = _('Modify configuration options.') def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options): - if 'ipamigrationenabled' in entry_attrs: - if entry_attrs['ipamigrationenabled']: - entry_attrs['ipamigrationenabled'] = 'TRUE' - else: - entry_attrs['ipamigrationenabled'] = 'FALSE' if 'ipadefaultprimarygroup' in entry_attrs: group=entry_attrs['ipadefaultprimarygroup'] try: |