I am trying to move all users authentication from local accounts to LDAP. I have successfully configured connections with group assignment and expert configuration for internal username to use uid as attribute. So every time new user added to ldap logs in, their account is working correctly.
However when already existing (local) users try to log in with their LDAP credentials (same UID, LDAP password), they get created a new account without their files and permissions assigned to it.
Is there any way to migrate all of the data from old users that were created locally so that they can now only authenticate with LDAP ?