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
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.
I am still a beginning gitlab user myself, but my understanding is the only file you need to edit should be /etc/gitlab/gitlab.rb, although the issue should have been fixed you maybe experiencing an issue similar to https://gitlab.com/gitlab-org/omnibus-gitlab/issues/540#note_1179354. See if editing /etc/gitlab/gitlab.rb and removing rm -rf /opt/gitlab/embedded/nodes and running gitlab-ctl reconfigure allows to make the changes in /etc/gitlab/gitlab.rb, because I think you will find that yml file you referred to is/should be overwritten when gitlab-ctl reconfigure is run.
I updated /etc/gitlab/gitlab.rb
I ran command; rm -rf /opt/gitlab/embedded/nodes
I ran command; gitlab-ctl reconfigure
When everything was done it worked. Is this a bug or that is how it should work? i.e. - I always have to run those commands for the changes to take effect?
EDIT:
I believe the command “gitlab-ctl reconfigure” should always be called when doing changes to /etc/gitlab/gitlab.rb as in the following link it always asks to run that command after changes to this file:
yes the gitlab-ctl reconfigure needs to be run anytime you make a change to /etc/gitlab/gitlab.rb.
There was a bug about when making changes to /etc/gitlab/gitlab.rb and the changes not being reflected when gitlab-ctl reconfigure was run, but that should have been fixed with Omnibus 7.10.1. You should only need to run gitlab-ctl reconfigure. The rm -rf /opt/gitlab/embedded/nodes was only a work around for the bug (but also fixed your issue)
But maybe you discovered a new bug.