LDAP-login only works for newly added Nextcloud users

I don’t recall all the specifics off-hand, but the usernames aren’t the only important element AFAIK. There are other dependencies that must be dealt with when doing a migration - e.g.