In your LDAP server settings on Moodle, check the box that prompts to save passwords locally. Run an LDAP sync to make sure that all accounts are updated. That will get the user details all stored within moodle. Then, in the database, go through and run a command to change the authentication mode from LDAP to manual. That should take care of it.
Installing and upgrading help
User access configuration
הדיון ננעל, כך שלא ניתן יותר להגיב אליו.