Hi all,

 

I installed the last Gitlab CE from the packages on a Centos 6. I want to 
synchronize with my ldap (an Active Directory).

 

This is my config:

 

 

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: 'ad01.XXX'

    port: 389

    uid: 'sAMAccountName'

    method: 'plain' # "tls" or "ssl" or "plain"

    bind_dn: 'CN=ldapquery,OU=XXX,OU=Users & Contacts,OU=XXX,DC= XXX,DC= 
XXX,DC= XXX’

    password: ‘XXX '

    active_directory: true

    allow_username_or_email_login: true

    block_auto_created_users: false

    base: 'OU=Users & Contacts,OU= XXX,DC= XXX,DC= XXX,DC= XXX '

    user_filter: 
'(memberOf:1.2.840.113556.1.4.1941:=CN=gitlabusr,OU=Services,OU=Security 
Groups,OU=Groups,OU= XXX,DC= XXX,DC= XXX,DC= XXX)'

EOS

 

 

This config is working fine, but only for the first user of the list 
obtained with the following:

 

gitlab-rake gitlab:ldap:check

 

Here are the logs obtained with gitlab-ctl tail gitlab-rails

 

 

Started POST "/users/auth/ldapmain/callback" for 193.XXXXXX at 2015-09-25 
10:33:20 +0200

Processing by OmniauthCallbacksController#failure as HTML

  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", 
"username"=>"", "password"=>"[FILTERED]"}

Redirected to http://gitlab.XXX/users/sign_in

Completed 302 Found in 21ms (ActiveRecord: 3.7ms)

Started GET "/users/sign_in" for 193.XXX at 2015-09-25 10:33:20 +0200

Processing by SessionsController#new as HTML

Completed 200 OK in 34ms (Views: 15.7ms | ActiveRecord: 3.0ms)

 

 

Where or how I could obtain more information about this error or how I 
could debug this?

 

Thanks in advance and best regards,

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/318e0c35-f97d-46ba-8c02-17d425fd3ceb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to