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-22 21:47:01 +01:00
committed by Martin Kosek
parent b9c3eb79a9
commit 98a99cbca8
+1
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):