You are here
Edgar - Tue, 2018/01/23 - 09:07
Resolved!:
Newbie user that didn't know config is space sensitive. I've formatted the config in notepad++ and because of that it was broken.
HI, can anyone plase help/walk me through configuring this one?
I've set config as per the gitlab.yml.example
ldap:
enabled: true
main:
label: 'LDAP'
host: 'ourDC'
port: 389
uid: 'sAMAccountName'
method: 'plain'
bind_dn: 'CN=ouruser,CN=SA,CN=Users,DC=our,DC=domain'
password: 'pwd'
timeout: 10
active_directory: true
allow_username_or_email_login: true
block_auto_created_users: true
base: 'ou=IT,dc=our,dc=domain'
With this I get 502 error in browser
Forum:
bundle exec rake gitlab:ldap
bundle exec rake gitlab:ldap:check RAILS_ENV=production
(in /home/git/gitlab)
D, [2018-01-23T07:02:05.700867 #2222] DEBUG -- sentry: ** [Raven] (<unknown>): mapping values are not allowed in this context at line 34 column 11 excluded from capture due to environment or should_capture callback
rake aborted!
Disregard this post.
Disregard this post.
DId not know that config file is space sensitive, copied spaces from previous values and now it works :)
Hey Edgar
Thanks for posting back though, I'm almost certain that your comments will help out someone in the future!
Add new comment