Migrate from LDAP to Database Auth

Nextcloud version 18.0.3
Operating system Ubuntu
PHP version 7.2

Hi Folks,

We found ton’s of posts regarding the migration of internal NextCloud users to an external user management like LDAP or AD.

But we would like to go the other way… We would like to switch from LDAP to Database authentication.

Is there anyone around to help how to achieve this?