Hello,
I am facing some issue while configuring LDAP for Gitlab(Community Edition) details as below -
Checking LDAP ...
Server: ldapmain
**LDAP authentication... Failed. Check `bind_dn` and `password` configuration values**
LDAP users with access to your GitLab server (only showing the first 100 results)
Checking LDAP ... Finished
Below is my gitlab.rb
ldap section :
gitlab_rails['ldap_enabled'] = true
###! **remember to close this block with 'EOS' below**
gitlab_rails['ldap_servers'] = YAML.load <<-EOS
main: # 'main' is the GitLab 'provider ID' of this LDAP server
label: 'GITLAB_LDAP'
host: 'xxxx.ops.com'
port: 389
uid: 'samAccountName'
method: 'plain' # "tls" or "ssl" or "plain"
bind_dn: 'CN=akash.warkhade,DC=ops,DC=com'
password: '#######'
active_directory: true
allow_username_or_email_login: false
block_auto_created_users: false
base: 'OU=THA,OU=Users,DC=ops,DC=com'
EOS
I have also tried multiple bind_dn combination like :
bind_dn: 'CN=akash.warkhade,DC=ops,DC=com'
bind_dn: 'CN=akash.warkhade'
bind_dn: 'CN=akash.warkhade@ops.com'
bind_dn: 'CN=Akash Warkhade'
Still it is giving same error while gitlab-rake gitlab:ldap:check
Can someone please help me out to get rid of this issue?