Configuring LDAP with GITLAB

While I am configuring LDAP with GitLab,I have made the changes in gitlab.yml file which is in /var/opt/gitlab/gitlab-rails/etc==>gitlab.yml.
But after running the “gitlab-ctl reconfigure” command in the terminal,the changes made to “gitlab.yml” file are not reflecting.

the changes I made to gitlab.yml file are :
host: ‘172.16.3.25’
port: 389
uid: ‘uid’
method: ‘plain’ # “tls” or “ssl” or “plain”
bind_dn: ‘user’
password: 'user’allow_username_or_email_login: true
base: 'ou=people,dc=thbs,dc=com’
active_directory: false

Please help me out …

You should not change the gitlab.yml file, it should be /etc/gitlab/gitlab.rb change here and then do gitlab-ctl reconfigure. Changes will be updated.

1 Like