There are two reasons this might happen with GitLab EE.
- The was an small connection issue between the server and the LDAP server
- If the account has been blocked and you are unable to “manually” unblock them, you will have to log into the back-end side of the server. (SSH into the server and use a terminal session)
- Once you have escalated to root or superuser you will need to enter the following commands.
-
gitlab-rails console
- to search for a user enter the following command:
- irb(main):001:0> user = User.find_by_email(“email@something.com“)
- irb(main):001:0> user = User.find_by_email(“email@something.com“)
- Setting the user to active:
- irb(main):002:0> user.state = “active”
- Save the setting
- irb(main):003:0> user.save
- Once you see a ‘true” feel free to exit the console. Check to see if the user’s allowed to access the site again
- The user’s account has been disabled in AD and then is synced to the GitLab EE server.
- Check AD to see if the user’s account has been disabled