I have install GitLab 7.10.1 as explained over here: https://about.gitlab.com/downloads/
This worked fine and I am able to login with the “root” user account. Next I want to link GitLab with LDAP. I searched in the GitLab documentation here: http://doc.gitlab.com/ce/integration/ldap.html
Note I make use of OpenLDAP
I have set my settings as follows:
gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' main: label: 'My LDAP' host: '192.168.1.93' port: 389 uid: 'uid' method: 'plain' # "tls" or "ssl" or "plain" bind_dn: '' password: '' active_directory: false allow_username_or_email_login: true block_auto_created_users: false base: 'dc=name,dc=local' user_filter: '' group_base: '' admin_group: '' sync_ssh_keys: false EOS
The IP Address is the IP Address of the machine where LDAP is hosted. In other words I can access phpldapadmin using the following url: http://192.168.1.93/phpldapadmin (from my LAN). The machine where GitLab is installed and LDAP in installed are on the same LAN.
That said when I go to login screen I do not even get an LDAP tab as I used to on previous versions of Gitlab. When I login with “root” account and I go to Admin Area, LDAP is still marked as switched off.
Does anyone know what the problem might be?