Migrate users from ldap backend to local accounts

Hi folks,

i’m using currently ldap backend as login backend. Additionally i have very few local accounts.
Now i want to migrate the ldap-users to local accounts without loosing permissions & settings. How can this be achieved?

If i simply delete the user in ldap backend, user is still available in gitlab gui, but can not login anymore. I tried by selecting my ldap login page and the default / local login page.
I also tried simply deleting the ldap identity in gitlab UI without deleting the user in ldap backend, still no login possible.

image

would be very happy to find a way to migrate my users without having to recreate them with all required permissions & stuff.

thank you.

Versions

  • Self-managed

Versions

GitLab Community Edition [v17.2.1])