Gitlab 6.0 login page does not display ldap tab
Created by: spuder
Expected Behavior: If gitlab is authenticated to ldap, the login page should always show the ldap tab.
Observed Behavior:
The first time I navigate to the gitlab login screen, I am given a standard login window (non ldap).
When I attempt to log in with my LDAP credentials the login fails and I am redirected to the login page again. The second time I see the login page, I am presented a slightly different login prompt which contains an ldap tab.
The second time I try and log in, I usually can authenticate.
I've searched all the configuration files, but I can not find how to force gitlab to show the ldap tab the first time and every time I navigate to the login page.
root@gitlab6:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Checking Environment ...
Git configured for git user? ... yes
Has python2? ... yes
python2 is supported version? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.7.0 ? ... OK (1.7.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
post-receive hook up-to-date? ... can't check because of previous errors
post-receive hooks in repos are links: ... can't check because of previous errors
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Checking Sidekiq ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have satellites? ...
Spencer Owen / foo ... can't create, repository is empty
Redis version >= 2.0.0? ... yes
Your git bin path is "/usr/bin/git"
Git version >= 1.7.10 ? ... yes (1.8.4)
Checking GitLab ... Finished