summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/config.py
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-12-01 09:23:07 +0100
committerRob Crittenden <rcritten@redhat.com>2011-11-30 23:41:48 -0500
commitf66fa48bb7c93ee599cf335e96c43d5e328f331d (patch)
tree4b08dda7973809a1523ea02903e38213cc4ae485 /ipalib/plugins/config.py
parent167813f34350466be569be26f4faa8b9a05e5920 (diff)
downloadfreeipa-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/config.py')
-rw-r--r--ipalib/plugins/config.py5
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: