I’ve scripted the migration from an existing Git installation (Stash) to a new GitLab CE instance. Authentication of the existing Git installation is made against LDAP and authorization is made within Stash. I need to create the users in GitLab first so that they can be bound to the permissions.
But the GitLab API doesn’t allow to create a user without a password and without a reset_password through the endpoint “POST /users”.
Any ideas how to automatically create a user that is authenticated by an external directory without password in GitLab?