Avoid "LDAP sync in progress" screen when User logs in for the first time

I’ve installed GitLab EE on a private machine and configured LDAP for authentication. When a user logs in for the first time, A screen appears with saying “LDAP sync in progress…” alert message and, asking the user to provide their role and some other details. My organisation need not this screen. How can I achieve this?

I don’t think you can avoid screen for LDAP Sync as GitLab needs to fetch user details from LDAP on first login. If GitLab asks user for details like name of surname you are probably not providing them in LDAP or haven’t configured attribute mapping properly.

I am not sure about the role, I thought user gets a “Guest” role by default.

Here’s the screenshot of the page that appears:

This is due to sign-up being enabled to allow users to self-register. Because of that this screen asks those additional questions. As far as I am aware, you cannot disable it. I believe you can ignore it though. I don’t have sign-up enabled on mine as I manually create users, but then I don’t use LDAP either, so not sure if this would make a difference or not if you disabled sign-up. May cause issues for people attempting to login who don’t exist yet, you could check/test that anyway to see what happens.