[LDAP] Gitlab

Hello, I can not configure my LDAP since Gitlab. I modified the file in which the following /etc/gitlab/gitabl.rb :
label: ‘LDAP’
host: ‘ldaps: //pcy-gardiansesame.edf.fr
Port: 636
uid: ‘XXXXXXX’
method: ‘ssl’
bind_dn: uid = {username}, ou = People, dc = gardiansesame ’
password: 'XXXXXXXX ’

ACTIVE_DIRECTORY: true

  allow_username_or_email_login: true

Block_auto_created_users: false

  base 'ou = Applications, dc = gardiansesame'
  user_filter: uid = {username} '

I modified under the /etc/resolv.conf file to put my DNS.

And in the logs under /var/log/gitlab/unicorn/unicorn_stdout.log:
I, [2016-03-08T08: 57: 44.498068 # 17452] INFO - omniauth (ldapmain) Phase Initiated Callback.
E [2016-03-08T08: 58: 01.516714 # 17452] ERROR - omniauth (ldapmain) Authentication failure! ldap_error: Net :: LDAP :: Error, No such address or --other socket error.

good, I advanced.

Parameter Problem under gitlab.rb:
host bad configuration

Always a mistake but it changed:
couldn’t authorize you from ldapmain “invalid credentials”

Does sudo gitlab-rake gitlab:ldap:check return an output of users?

Thank you
#sudo gitlab-rake gitlab: ldap: check
Checking LDAP …
LDAP users with access to your server GitLab (showing only the first 100 results)
Server: ldapmain
Checking LDAP … Finished

Hi @pipou,

Are you still experiencing this issue?

you have space betwen “host: 'ldaps:” AND “//pcy-gardiansesame.edf.fr’”