Hello,
I have been having prblems getting AD to work with GitLab. I login the LDAP user and it goes straght to the error 500 page.
Result of the LDAP check:
pi@gitpi:~ $ sudo gitlab-rake gitlab:ldap:check
Checking LDAP ā¦
LDAP users with access to your GitLab server (only showing the first 100 results)
Server: ldapmain
Checking LDAP ... Finished
My LDAP config in /etc/gitlab/gitlab.rb:
gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below
main: # 'main' is the GitLab 'provider ID' of this LDAP server
label: 'LDAP'
host: 'SERVER'
port: 389
uid: 'uid'
method: 'plan' # "tls" or "ssl" or "plain"
bind_dn: 'CN=[RETRACTED],OU=Users,OU=[RETRACTED],DC=[RETRACTED],DC=local'
password: '[RETRACTED]'
active_directory: true
allow_username_or_email_login: false
block_auto_created_users: false
base: 'OU=DAWSON,DC=dawson,DC=local'
# user_filter: ''
attributes:
username: 'sAMAccountName'
email: 'mail'
name: 'cn'
first_name: 'givenName'
last_name: 'sn'
EOS
Any help would be most appreciated. Iām using Gitlab 2.7.2.
Kind Regards,
DD