On Friday, January 9, 2015 at 9:12:04 AM UTC+1, vahid kadivarkadivar wrote:
>
> Hi
> I have a problem about logging with ldap part I use the GitLab Community 
> Edition this is my confige ldap file as a png file follow bellow when 
> logging to ldap it brings this error 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: 'localhost'
>      port: 389
>      uid: 'admin'
>      method: 'plain' # "tls" or "ssl" or "plain"
>      bind_dn: 'CN=admin,DC=localhost'
>      password: 'hellox123'
> #     active_directory: true
>      allow_username_or_email_login: false
>      base: 'DC=localhost'
>      user_filter: 'Objectclass=*'
>

Hello,

uid value must not be 'admin' but an ldap attribute to be used as user id.

Default value is:
    uid: 'sAMAccountName'

-- Laurent.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/7b90f3f9-993e-41e6-bc4b-ad2564f8ebbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to