Shouldn't  "active_directory" set to true?

Bram

Op donderdag 12 februari 2015 10:13:58 UTC+1 schreef Maneesh M P:
>
> I am still not able to get ldap working with the latest gitlab, here is my 
> configuration. Anything new got introduced in latest version ? can anyone 
> help me to identify the issue ? I get the error * "Could not authorize 
> you from Ldapmain because "Invalid credentials"*
>
>  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: 'ldap.abc.com'
>      port: 389
>      uid: 'uid'
>      method: 'tls' # "tls" or "ssl" or "plain"
>      bind_dn: 'CN=gitlab,OU=Applications,O=abc.com'
>      password: '#####'
>      active_directory: false
>      allow_username_or_email_login: false
>      base: 'OU=People,O=abc.com'
> EOS
>
>
> With gitlab 7 ldap work just fine with below configuration 
>
>
> gitlab_rails['ldap_enabled'] = true
> gitlab_rails['ldap_host'] = 'ldap.abc.com'
> gitlab_rails['ldap_port'] = 389
> gitlab_rails['ldap_uid'] = 'uid'#'sAMAccountName'
> gitlab_rails['ldap_method'] = 'tls' # 'ssl' or 'plain'
> gitlab_rails['ldap_bind_dn'] =  'cn=gitlab,ou=Applications,o=abc.com'
> gitlab_rails['ldap_password'] = '#######' #Bind password
> gitlab_rails['ldap_allow_username_or_email_login'] = false
> gitlab_rails['ldap_base'] = 'ou=People,o=abc.com'
>
> Thanks,
> Maneesh 
>

-- 
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/1135e508-65ce-4560-bc62-dd7e9765a86c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to