Normalize the primary key value to lowercase during migration.

https://bugzilla.redhat.com/show_bug.cgi?id=804609
This commit is contained in:
Rob Crittenden
2012-03-20 22:50:17 -04:00
committed by Martin Kosek
parent b9c3eb79a9
commit 98a99cbca8

View File

@@ -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):