Yes I have got the answer your reply is true I located sAMAccountName default value Thanks for your help
On Friday, January 9, 2015 at 12:26:38 PM UTC+3:30, Laurent CREPET wrote: > > > > 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 gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/926c7a1a-1228-407e-8e13-ba24294713f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.