Error al conectar gitlab a LDAP

Hola buenas tardes, saludos a todos, en este caso quiero conectar mi gitlab al LDAP, ya modifique el archivo de configuracion y al ejecutar gitlab-ctl reconfigure lo reconfigura bien, luego al hacer gitlab-rake gitlab:ldap:check me arroja.

rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - LDAP
/opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:29:in new' /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:29:in block in <top (required)>’
/opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:28:in each' /opt/gitlab/embedded/service/gitlab-rails/config/initializers/1_settings.rb:28:in <top (required)>’
/opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in <top (required)>' /opt/gitlab/embedded/bin/bundle:23:in load’
/opt/gitlab/embedded/bin/bundle:23:in `’
Tasks: TOP => gitlab:ldap:check => gitlab_environment => environment
(See full trace by running task with --trace)

y en la web me da error 502.

de antemano gracias saludos