Created attachment 8754 [details] proposed, but untested patch to fix this in master This patch helps us skip some more invalid accounts in the classicupgrade code.
Created attachment 8756 [details] improved patch
Created attachment 8757 [details] patch for pdb_ldap NOT to skip invalid account In this case, we want this invalid account to show up, so we can fix it, rather than skip it, but do so at the python later, not deep in passdb.
Created attachment 8769 [details] Attempt to make the 30,000 user upgrade faster This patch tries to make a 30,000 user upgrade faster, by using transactions over adding the users, adding the groups and then adding the memberships.
I'm still waiting for feedback before proposing this patch for master.