summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-03-20 22:50:17 -0400
committerMartin Kosek <mkosek@redhat.com>2012-03-22 21:47:01 +0100
commit98a99cbca894b6122377976e51567d65513635e7 (patch)
treeeb3299208342059e59207db9c03969648fdbd4a6
parentb9c3eb79a953fc20e148d518babf84925524f712 (diff)
downloadfreeipa-98a99cbca894b6122377976e51567d65513635e7.tar.gz
freeipa-98a99cbca894b6122377976e51567d65513635e7.tar.xz
freeipa-98a99cbca894b6122377976e51567d65513635e7.zip
Normalize the primary key value to lowercase during migration.
https://bugzilla.redhat.com/show_bug.cgi?id=804609
-rw-r--r--ipalib/plugins/migration.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/migration.py b/ipalib/plugins/migration.py
index 7156a44df..4b104a8ed 100644
--- a/ipalib/plugins/migration.py
+++ b/ipalib/plugins/migration.py
@@ -657,6 +657,7 @@ can use their Kerberos accounts.''')
) + [o.lower() for o in entry_attrs['objectclass']]
)
)
+ entry_attrs[ldap_obj.primary_key.name][0] = entry_attrs[ldap_obj.primary_key.name][0].lower()
callback = self.migrate_objects[ldap_obj_name]['pre_callback']
if callable(callback):