Does sudo gitlab-rake gitlab:ldap:check return an output of users?
sudo gitlab-rake gitlab:ldap:check