Thank you, I know this article.
I plan to issue accesses through the API not through the file role_mapping.yml.
But I need local accounts to remain and you can log in under them to test access through ldap, and in which case, so that the user can use the old local account.